chore: keep existing connections

This commit is contained in:
Skyxim 2023-03-15 09:18:03 +08:00
parent 9d9bd245f3
commit 5d0efb5472

View file

@ -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() {