From b641024d1f8d5db0b55c4e863943565202d95694 Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Wed, 15 Mar 2023 09:18:03 +0800 Subject: [PATCH] chore: keep existing connections --- tunnel/tunnel.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/tunnel/tunnel.go b/tunnel/tunnel.go index 532c9e0e..c4f55fbd 100644 --- a/tunnel/tunnel.go +++ b/tunnel/tunnel.go @@ -52,9 +52,6 @@ var ( func OnSuspend() { status.Store(Suspend) - for _, c := range statistic.DefaultManager.Snapshot().Connections { - _ = c.Close() - } } func OnInnerLoading() {