Chore: persistence fakeip pool state

This commit is contained in:
yaling888
2022-04-13 05:55:08 +08:00
committed by MetaCubeX
parent 58cd8f9ac1
commit 3ea3653d7a
4 changed files with 64 additions and 18 deletions

View File

@ -395,6 +395,7 @@ func updateIPTables(cfg *config.Config) {
func Shutdown() {
P.Cleanup()
tproxy.CleanupTProxyIPTables()
resolver.StoreFakePoolSate()
log.Warnln("Clash shutting down")
}