chore: cleanup codes

This commit is contained in:
gVisor bot 2023-09-02 14:10:26 +08:00
parent 9bd834b34a
commit 8463db4f4e
2 changed files with 2 additions and 2 deletions

View File

@ -491,7 +491,7 @@ func updateIPTables(cfg *config.Config) {
}
func Shutdown() {
listener.Cleanup(false)
listener.Cleanup()
tproxy.CleanupTProxyIPTables()
resolver.StoreFakePoolState()

View File

@ -902,6 +902,6 @@ func closeTunListener() {
}
}
func Cleanup(wait bool) {
func Cleanup() {
closeTunListener()
}