fix: core full stop

This commit is contained in:
Alireza Ahmadi
2026-02-11 19:13:04 +01:00
parent 76e91aa9b8
commit d996e7171b
-3
View File
@@ -82,12 +82,9 @@ func (c *Core) Start(sbConfig []byte) error {
}
func (c *Core) Stop() error {
if c.isRunning {
c.isRunning = false
return c.instance.Close()
}
return nil
}
func (c *Core) IsRunning() bool {
return c.isRunning