AppDelegate // Remove unnecessary deinit().
This commit is contained in:
parent
3cb0872a1d
commit
70de63dd35
|
@ -36,15 +36,6 @@ class AppDelegate: NSObject, NSApplicationDelegate,
|
||||||
)
|
)
|
||||||
private var currentAlertType: String = ""
|
private var currentAlertType: String = ""
|
||||||
|
|
||||||
// 補上 dealloc
|
|
||||||
deinit {
|
|
||||||
ctlPrefWindowInstance = nil
|
|
||||||
ctlAboutWindowInstance = nil
|
|
||||||
checkTask = nil
|
|
||||||
fsStreamHelper.stop()
|
|
||||||
fsStreamHelper.delegate = nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func userNotificationCenter(_: NSUserNotificationCenter, shouldPresent _: NSUserNotification) -> Bool {
|
func userNotificationCenter(_: NSUserNotificationCenter, shouldPresent _: NSUserNotification) -> Bool {
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue