1
0
mirror of https://github.com/danog/amp.git synced 2024-11-27 04:24:42 +01:00

Clear stop exception before throwing

This commit is contained in:
Daniel Lowrey 2014-06-11 10:16:22 -04:00
parent a09cc62f81
commit 4ad6dae260

View File

@ -46,6 +46,7 @@ class LibeventReactor implements SignalReactor {
if ($this->stopException) { if ($this->stopException) {
$e = $this->stopException; $e = $this->stopException;
$this->stopException = NULL;
throw $e; throw $e;
} }
} }