diff --git a/src/Prooph/EventStore/EventStore.php b/src/Prooph/EventStore/EventStore.php index 81bfe7b0..fcc90767 100644 --- a/src/Prooph/EventStore/EventStore.php +++ b/src/Prooph/EventStore/EventStore.php @@ -311,9 +311,9 @@ public function commit() $event = new PostCommitEvent(__FUNCTION__ . '.post', $this, $argv); - $this->getActionEventDispatcher()->dispatch($event); - $this->recordedEvents = []; + + $this->getActionEventDispatcher()->dispatch($event); } /**