remove extra case in main loop

This commit is contained in:
zelig 2014-07-07 12:30:25 +01:00
parent 5a2afc5754
commit 4d77b7face

View File

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