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:
parent
a09cc62f81
commit
4ad6dae260
@ -46,6 +46,7 @@ class LibeventReactor implements SignalReactor {
|
||||
|
||||
if ($this->stopException) {
|
||||
$e = $this->stopException;
|
||||
$this->stopException = NULL;
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user