modify plugin name

This commit is contained in:
2022-06-22 17:41:32 +08:00
parent 4a6aa23e17
commit b02213393f
2 changed files with 2 additions and 2 deletions
+1
View File
@@ -182,6 +182,7 @@ class AsyncServer implements ServerInterface
*/
public function onSignal(array $signal): void
{
pcntl_signal(SIGTERM, [$this, 'onSigint']);
pcntl_signal(SIGINT, [$this, 'onSigint']);
foreach ($signal as $sig => $value) {
if (is_array($value) && is_string($value[0])) {