mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-15 08:03:37 +01:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ddc3b8575e |
@@ -42,6 +42,9 @@ 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