update to 2.5.0-b4 (build 414)

This commit is contained in:
crazywhalecc
2021-07-09 02:15:04 +08:00
parent 481063285b
commit e57cc43500
8 changed files with 27 additions and 20 deletions

View File

@@ -8,6 +8,7 @@ use Swoole\Process;
use ZM\Annotation\Swoole\SwooleHandler;
use ZM\Console\Console;
use ZM\Event\SwooleEvent;
use ZM\Utils\DataProvider;
/**
* Class OnManagerStop
@@ -23,5 +24,8 @@ class OnManagerStop implements SwooleEvent
}
}
Console::verbose("进程 Manager 已停止!");
if (file_exists(DataProvider::getWorkingDir()."/.daemon_pid")) {
unlink(DataProvider::getWorkingDir()."/.daemon_pid");
}
}
}