Merge branch '2.0'
commit
0021758e0b
|
@ -305,7 +305,11 @@ class EventDispatcher
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) { // TODO Composer 2.2 turn all this into a finally
|
||||||
|
$this->popEvent();
|
||||||
|
|
||||||
|
throw $e;
|
||||||
|
} catch (\Throwable $e) {
|
||||||
$this->popEvent();
|
$this->popEvent();
|
||||||
|
|
||||||
throw $e;
|
throw $e;
|
||||||
|
|
Loading…
Reference in New Issue