Fix hang on close
This commit is contained in:
parent
57c66c4690
commit
2b17a34ff7
|
@ -115,6 +115,7 @@ func NotifyViaHTTP(events <-chan GenericMessage, wg *sync.WaitGroup, logger *log
|
|||
}
|
||||
}
|
||||
}
|
||||
close(returnEvents)
|
||||
}()
|
||||
|
||||
return returnEvents
|
||||
|
|
Loading…
Reference in New Issue