remove extra case in main loop

pull/150/head
zelig 10 years ago
parent 5a2afc5754
commit 4d77b7face
  1. 2
      ethreact/reactor.go

@ -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
} }

Loading…
Cancel
Save