This commit is contained in:
Dennis Eichhorn 2017-10-26 19:05:11 +02:00
parent 4a766b6cf0
commit 955dd9c052

View File

@ -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 */