Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 346f165

Browse files
greg-1-andersonweitzman
authored andcommitted
Fixes #3672: Call Boot::terminate() in a shutdown handler. (#3680)
1 parent af64eb7 commit 346f165

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Boot/BaseBoot.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ abstract class BaseBoot implements Boot, LoggerAwareInterface, ContainerAwareInt
2121

2222
public function __construct()
2323
{
24+
register_shutdown_function([$this, 'terminate']);
2425
}
2526

2627
public function findUri($root, $uri)

0 commit comments

Comments
 (0)