mirror of
https://github.com/yusing/godoxy.git
synced 2025-06-09 13:02:33 +02:00
restore notification
This commit is contained in:
parent
39c5886d7a
commit
989a09274f
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue