From 70de63dd359e236091ac76d8a5aca5ec4ac15a7f Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Thu, 8 Sep 2022 13:27:48 +0800 Subject: [PATCH] AppDelegate // Remove unnecessary deinit(). --- Source/Modules/AppDelegate.swift | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Source/Modules/AppDelegate.swift b/Source/Modules/AppDelegate.swift index 05e1c6f1..a2a67c7b 100644 --- a/Source/Modules/AppDelegate.swift +++ b/Source/Modules/AppDelegate.swift @@ -36,15 +36,6 @@ class AppDelegate: NSObject, NSApplicationDelegate, ) private var currentAlertType: String = "" - // 補上 dealloc - deinit { - ctlPrefWindowInstance = nil - ctlAboutWindowInstance = nil - checkTask = nil - fsStreamHelper.stop() - fsStreamHelper.delegate = nil - } - func userNotificationCenter(_: NSUserNotificationCenter, shouldPresent _: NSUserNotification) -> Bool { true }