mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-10-28 14:41:45 +08:00
fix: device fields
This commit is contained in:
@@ -295,6 +295,9 @@ func (task *Task) start() bool {
|
||||
task.state = TASK_STATE_STARTED
|
||||
task.startup.Fulfill(err)
|
||||
for _, listener := range task.afterStartListeners {
|
||||
if task.IsStopped() {
|
||||
break
|
||||
}
|
||||
listener()
|
||||
}
|
||||
if task.IsStopped() {
|
||||
|
||||
Reference in New Issue
Block a user