Uncaught TypeError: posix_kill(): Argument #1 ($process_id) must be of type int, string given
This commit is contained in:
Marc 2023-03-01 10:25:40 +01:00 committed by GitHub
parent 567b815e84
commit f31f7e4510
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -345,7 +345,7 @@ class LookingGlass
// kill remaining processes // kill remaining processes
foreach ($pids as $pid) { foreach ($pids as $pid) {
if (is_numeric($pid)) { if (is_numeric($pid)) {
posix_kill($pid, 9); posix_kill((int) $pid, 9);
} }
} }
} }