Removing eject
This commit is contained in:
1 parent
8ec9711e58
commit
5c68d8697d
1 file changed
-2
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user