Remove feature ping which may make app crashed.

This commit is contained in:
Qiu Yuzhou
2018-01-17 15:14:14 +08:00
parent 3b724d75f1
commit 5828fdbac9
31 changed files with 2024 additions and 3738 deletions

View File

@ -110,7 +110,6 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele
image.isTemplate = true
statusItem.image = image
statusItem.menu = statusMenu
ServerProfileManager.instance.refreshPing()
let notifyCenter = NotificationCenter.default
@ -556,7 +555,6 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele
if isChanged {
mgr.save()
ServerProfileManager.instance.refreshPing()
self.updateServersMenu()
} else {
sendNotify("Not found valid qrcode of shadowsocks profile.", "", "")