mirror of
https://github.com/alireza0/s-ui.git
synced 2026-09-01 17:32:00 +00:00
fix: core full stop
This commit is contained in:
parent
76e91aa9b8
commit
d996e7171b
1 changed files with 2 additions and 5 deletions
|
|
@ -82,11 +82,8 @@ func (c *Core) Start(sbConfig []byte) error {
|
|||
}
|
||||
|
||||
func (c *Core) Stop() error {
|
||||
if c.isRunning {
|
||||
c.isRunning = false
|
||||
return c.instance.Close()
|
||||
}
|
||||
return nil
|
||||
c.isRunning = false
|
||||
return c.instance.Close()
|
||||
}
|
||||
|
||||
func (c *Core) IsRunning() bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue