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