Commit 255a4b4c authored by Setako's avatar Setako

[Fix] Event not listening error

parent a74897ee
......@@ -31,8 +31,6 @@ class ReactantEventService : LifeCycleHook, Listener, EventService {
if (eventPrioritySubjectMap.containsKey(event::class.java to ignoreCancelled)
&& eventPrioritySubjectMap[event::class.java to ignoreCancelled]!!.containsKey(priority)) {
eventPrioritySubjectMap[event::class.java to ignoreCancelled]!![priority]!!.onNext(event)
} else {
throw IllegalStateException("Event not listening: ${event::class.qualifiedName}")
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment