modify plugin name
This commit is contained in:
@@ -197,18 +197,13 @@ class AsyncServer implements ServerInterface
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return void
|
* @return void
|
||||||
* @throws ContainerExceptionInterface
|
|
||||||
* @throws NotFoundExceptionInterface
|
|
||||||
* @throws ReflectionException
|
|
||||||
*/
|
*/
|
||||||
public function onSigint(): void
|
public function onSigint(): void
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$this->dispatch->dispatch(new OnBeforeShutdown());
|
$this->shutdown();
|
||||||
} catch (\Throwable $exception) {
|
} catch (\Throwable $exception) {
|
||||||
$this->logger->error($exception->getMessage());
|
$this->logger->error($exception->getMessage());
|
||||||
} finally {
|
|
||||||
$this->shutdown();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user