Skip to content

Commit 0a545f3

Browse files
staabmsebastianbergmann
authored andcommitted
Fix double registration of shutdown-function in ShutdownHandler
1 parent ce8dc4d commit 0a545f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Runner/ShutdownHandler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ private static function register(): void
3939
return;
4040
}
4141

42+
self::$registered = true;
4243
register_shutdown_function(static function (): void
4344
{
4445
print self::$message;

0 commit comments

Comments
 (0)