This commit is contained in:
2020-09-18 21:17:44 +08:00
parent 6e6c9af887
commit 8b450ef1f0
11 changed files with 6 additions and 41 deletions
+1 -3
View File
@@ -25,9 +25,7 @@ class OnManagerStop extends Callback
$this->warning('manager stop.');
$events = Snowflake::app()->event;
if ($events->exists(Event::SERVER_MANAGER_STOP)) {
$events->trigger(Event::SERVER_MANAGER_STOP, [$server]);
}
$events->trigger(Event::SERVER_MANAGER_STOP, [$server]);
// $runPath = storage(null, 'workerIds');
// foreach (glob($runPath . '/*') as $item) {