modify plugin name

This commit is contained in:
2022-07-11 16:31:57 +08:00
parent 4ebd409853
commit 5b46f20b9d
+1 -3
View File
@@ -49,9 +49,7 @@ class State extends Component
return; return;
} }
while (checkPortIsAlready($port)) { while (checkPortIsAlready($port)) {
if (Process::kill($pid, 0)) { Process::kill($pid, 0) && Process::kill($pid, SIGTERM);
Process::kill($pid, SIGTERM);
}
usleep(300); usleep(300);
} }
} }