Chore: adjust gVisor stack
This commit is contained in:
@ -330,7 +330,9 @@ func updateIPTables(cfg *config.Config) {
|
||||
log.Infoln("[IPTABLES] Setting iptables completed")
|
||||
}
|
||||
|
||||
func Cleanup() {
|
||||
func Shutdown() {
|
||||
P.Cleanup()
|
||||
tproxy.CleanupTProxyIPTables()
|
||||
|
||||
log.Warnln("Clash shutting down")
|
||||
}
|
||||
|
@ -48,7 +48,3 @@ func Parse(options ...Option) error {
|
||||
executor.ApplyConfig(cfg, true)
|
||||
return nil
|
||||
}
|
||||
|
||||
func Cleanup() {
|
||||
executor.Cleanup()
|
||||
}
|
||||
|
Reference in New Issue
Block a user