Sing-Box v1.13.0

This commit is contained in:
Alireza Ahmadi
2026-02-28 22:46:51 +01:00
parent 86379818a2
commit c70f0f97b3
15 changed files with 612 additions and 349 deletions
+1 -2
View File
@@ -12,7 +12,6 @@ import (
"github.com/sagernet/sing-box/log"
"github.com/sagernet/sing-box/option"
_ "github.com/sagernet/sing-box/transport/v2rayquic"
_ "github.com/sagernet/sing-dns/quic"
"github.com/sagernet/sing/service"
)
@@ -83,7 +82,7 @@ func (c *Core) Start(sbConfig []byte) error {
func (c *Core) Stop() error {
c.isRunning = false
if c.instance != nil {
if c.instance == nil {
return nil
}
return c.instance.Close()