Fix #98, Don't turn off when app Terminate.

This commit is contained in:
Charlie Qiu
2016-10-19 23:59:52 +08:00
parent 3c77fc9fe9
commit 299abfee7b

View File

@ -172,8 +172,6 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele
StopSSLocal()
StopPrivoxy()
ProxyConfHelper.disableProxy()
let defaults = UserDefaults.standard
defaults.set(false, forKey: "ShadowsocksOn")
}
func applyConfig() {