diff --git a/src/main/kotlin/no/iktdev/eventi/events/EventDispatcher.kt b/src/main/kotlin/no/iktdev/eventi/events/EventDispatcher.kt index 98f7c12..f8c38cd 100644 --- a/src/main/kotlin/no/iktdev/eventi/events/EventDispatcher.kt +++ b/src/main/kotlin/no/iktdev/eventi/events/EventDispatcher.kt @@ -18,9 +18,7 @@ class EventDispatcher(val eventStore: EventStore) { for (candidate in candidates) { val result = listener.onEvent(candidate, events) if (result != null) { - eventStore.persist(result) - return } } }