Commit 4d77b7fa authored by zelig's avatar zelig

remove extra case in main loop

parent 5a2afc57
......@@ -95,7 +95,7 @@ func (reactor *ReactorEngine) Start() {
case event := <-reactor.eventChannel:
// needs to be called syncronously to keep order of events
reactor.dispatch(event)
case reactor.drained <- true:
// case reactor.drained <- true:
default:
reactor.drained <- true // blocking till message is coming in
}
......
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