Skip to content

Commit 9aaec4c

Browse files
committed
Add priorities for onStop and onReload callbacks in http server
1 parent 9fded09 commit 9aaec4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/HttpServerProcess.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ public function __construct(
7070
);
7171

7272
$this->onStart($this->startServer(...));
73-
$this->onStop($this->stopServer(...));
74-
$this->onReload($this->stopServer(...));
73+
$this->onStop($this->stopServer(...), -1000);
74+
$this->onReload($this->stopServer(...), -1000);
7575
}
7676

7777
public static function handleBy(): array

0 commit comments

Comments
 (0)