fix crash on restart due to change #1030

This commit is contained in:
Alireza Ahmadi
2026-02-28 01:52:34 +01:00
parent 5812d6a827
commit 13d475da20
5 changed files with 39 additions and 23 deletions
+3
View File
@@ -83,6 +83,9 @@ func (c *Core) Start(sbConfig []byte) error {
func (c *Core) Stop() error {
c.isRunning = false
if c.instance != nil {
return nil
}
return c.instance.Close()
}