改名
This commit is contained in:
@@ -27,13 +27,13 @@ class OnManagerStop extends Callback
|
|||||||
$events = Snowflake::app()->event;
|
$events = Snowflake::app()->event;
|
||||||
$events->trigger(Event::SERVER_MANAGER_STOP, [$server]);
|
$events->trigger(Event::SERVER_MANAGER_STOP, [$server]);
|
||||||
|
|
||||||
// $runPath = storage(null, 'workerIds');
|
$runPath = storage(null, 'worker');
|
||||||
// foreach (glob($runPath . '/*') as $item) {
|
foreach (glob($runPath . '/*') as $item) {
|
||||||
// if (!file_exists($item)) {
|
if (!file_exists($item)) {
|
||||||
// continue;
|
continue;
|
||||||
// }
|
}
|
||||||
// @unlink($item);
|
@unlink($item);
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user