Finalize callback shutdown on stop
This commit is contained in:
1 parent
fd8b3ce164
commit
c634d1baea
1 file changed
+1
@@ -129,6 +129,7 @@ func (x *CoreController) StopLoop() error {
|
||||
|
||||
if x.IsRunning {
|
||||
x.doShutdown()
|
||||
x.CallbackHandler.Shutdown()
|
||||
x.CallbackHandler.OnEmitStatus(0, "Core stopped")
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user