mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-06 05:17:37 +03:00
Enable fix stack for Android 7 and 9
This commit is contained in:
parent
9c4ab0bf33
commit
bc2e3960e4
6 changed files with 41 additions and 44 deletions
|
@ -7,7 +7,6 @@ import (
|
|||
"path/filepath"
|
||||
"time"
|
||||
|
||||
C "github.com/sagernet/sing-box/constant"
|
||||
"github.com/sagernet/sing/common"
|
||||
E "github.com/sagernet/sing/common/exceptions"
|
||||
)
|
||||
|
@ -114,7 +113,7 @@ func (c *CommandClient) Connect() error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if C.FixAndroidStack {
|
||||
if sFixAndroidStack {
|
||||
go func() {
|
||||
c.handler.Connected()
|
||||
c.handler.InitializeClashMode(newIterator(modeList), currentMode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue