Merge pull request #20426 from calavera/remove_channel_close

Remove channel close.
Upstream-commit: 038c3b82870646cefd8f631c891cd99120cc4109
Component: engine
This commit is contained in:
Arnaud Porterie
2016-02-18 11:13:30 -08:00

View File

@ -149,7 +149,7 @@ func matchEventLine(id, eventType string, actions map[string]chan bool) eventMat
func processEventMatch(actions map[string]chan bool) eventMatchProcessor {
return func(matches map[string]string) {
if ch, ok := actions[matches["action"]]; ok {
close(ch)
ch <- true
}
}
}