Skip to content

Commit 720cc8b

Browse files
committed
Merge pull request #143 from Lewiscowles1986/patch-1
restore exception handler when cleaning up object
2 parents dc431bb + da0e12d commit 720cc8b

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)