修复:进程退出后未调用 UnregisterProcess
This commit is contained in:
1 parent
1fd022d9e1
commit
60d6ca85d6
1 file changed
+1
@@ -470,6 +470,7 @@ func startScheduler() {
|
||||
|
||||
// Process exited - clean up
|
||||
close(done)
|
||||
UnregisterProcess("bililive-scheduler")
|
||||
schedulerPort.Store(0)
|
||||
blog.GetLogger().Warnln("bililive-scheduler process exited")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user