Skip to content

Commit 6b40904

Browse files
Remove SIGKILL handling from reactphp (#136)
Co-authored-by: Alexander Schranz <[email protected]>
1 parent 2ee903a commit 6b40904

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/ServerFactory.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ public function createServer(RequestHandlerInterface $requestHandler): LoopInter
3636
$loop->addSignal(SIGTERM, function (int $signal) {
3737
exit(128 + $signal);
3838
});
39-
$loop->addSignal(SIGKILL, function (int $signal) {
40-
exit(128 + $signal);
41-
});
4239
$server = new HttpServer($loop, function (ServerRequestInterface $request) use ($requestHandler) {
4340
return $requestHandler->handle($request);
4441
});

0 commit comments

Comments
 (0)