mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 11:42:43 +08:00
chore: keep existing connections
This commit is contained in:
parent
3c527f8535
commit
b641024d1f
|
@ -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