Finalize callback shutdown on stop

This commit is contained in:
2dust committed 2026-08-20 15:16:03 +08:00
1 parent fd8b3ce164
commit c634d1baea
1 file changed
+1
+1
View File
@@ -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