Skip to content

Commit da0e12d

Browse files
restore exception handler when cleaning up object
1 parent 399fc4c commit da0e12d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ExceptionHandler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,6 @@ public function __destruct() {
4242
if ($this->rethrow) {
4343
throw $this->rethrow;
4444
}
45+
\restore_exception_handler();
4546
}
4647
}

0 commit comments

Comments
 (0)