Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit c26e86e

Browse files
committed
Trigger soft-shutdown on timer restart
1 parent 87f5e0c commit c26e86e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/Commands/StartServer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public function configureRestartTimer()
143143

144144
$this->loop->addPeriodicTimer(10, function () {
145145
if ($this->getLastRestart() !== $this->lastRestart) {
146-
$this->loop->stop();
146+
$this->triggerSoftShutdown();
147147
}
148148
});
149149
}

0 commit comments

Comments
 (0)