This commit is contained in:
2022-09-05 18:47:20 +08:00
parent 623f0362fd
commit 24322a411a
+1
View File
@@ -143,6 +143,7 @@ class Scanner extends BaseProcess
public function onSigterm(): static
{
pcntl_signal(SIGTERM, function () {
Timer::clearAll();
$this->onProcessStop();
});
return $this;