Fix #12
Uncaught TypeError: posix_kill(): Argument #1 ($process_id) must be of type int, string given
This commit is contained in:
parent
567b815e84
commit
f31f7e4510
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user