1
0
mirror of https://github.com/danog/ipc.git synced 2024-11-26 20:15:05 +01:00
This commit is contained in:
Daniil Gentili 2021-04-06 20:28:19 +02:00
parent 5698d92fb3
commit 1eae1ea407
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -162,8 +162,9 @@ class IpcServer
Loop::cancel($this->watcher); Loop::cancel($this->watcher);
if ($this->acceptor) { if ($this->acceptor) {
$this->acceptor->resolve(); $acceptor = $this->acceptor;
$this->acceptor = null; $this->acceptor = null;
$acceptor->resolve();
} }
if ($this->server) { if ($this->server) {