mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-04-24 12:18:07 +08:00
chore: keep existing connections
This commit is contained in:
parent
9d9bd245f3
commit
5d0efb5472
@ -52,9 +52,6 @@ var (
|
|||||||
|
|
||||||
func OnSuspend() {
|
func OnSuspend() {
|
||||||
status.Store(Suspend)
|
status.Store(Suspend)
|
||||||
for _, c := range statistic.DefaultManager.Snapshot().Connections {
|
|
||||||
_ = c.Close()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func OnInnerLoading() {
|
func OnInnerLoading() {
|
||||||
|
Loading…
Reference in New Issue
Block a user