mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-20 13:28:42 +00:00
Fix #133
This commit is contained in:
parent
4a766b6cf0
commit
955dd9c052
|
|
@ -91,12 +91,7 @@ class JobQueue
|
|||
fclose(STDOUT);
|
||||
fclose(STDERR);
|
||||
|
||||
function shutdown()
|
||||
{
|
||||
posix_kill(posix_getpid(), SIGHUP);
|
||||
}
|
||||
|
||||
register_shutdown_function('shutdown');
|
||||
register_shutdown_function(function() { posix_kill(posix_getpid(), SIGHUP); });
|
||||
}
|
||||
|
||||
public function setRunning(bool $run = true) /* : void */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user