mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-18 17:37:04 +01:00
restore notification
This commit is contained in:
@@ -42,9 +42,6 @@ func StartNotifDispatcher(parent task.Parent) *Dispatcher {
|
||||
}
|
||||
|
||||
func Notify(msg *LogMessage) {
|
||||
if dispatcher == nil {
|
||||
return
|
||||
}
|
||||
select {
|
||||
case <-dispatcher.task.Context().Done():
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user