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