AppDelegate // Dealloc the fsStreamHelper when App terminates.
This commit is contained in:
parent
b8be76bc07
commit
5465deba7c
|
@ -137,7 +137,6 @@ class AppDelegate: NSObject, NSApplicationDelegate, NonModalAlertWindowControlle
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@IBOutlet weak var window: NSWindow?
|
@IBOutlet weak var window: NSWindow?
|
||||||
private var preferencesWindowController: PreferencesWindowController?
|
private var preferencesWindowController: PreferencesWindowController?
|
||||||
|
@ -152,6 +151,8 @@ class AppDelegate: NSObject, NSApplicationDelegate, NonModalAlertWindowControlle
|
||||||
aboutWindowController = nil
|
aboutWindowController = nil
|
||||||
checkTask = nil
|
checkTask = nil
|
||||||
updateNextStepURL = nil
|
updateNextStepURL = nil
|
||||||
|
fsStreamHelper.stop()
|
||||||
|
fsStreamHelper.delegate = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func applicationDidFinishLaunching(_ notification: Notification) {
|
func applicationDidFinishLaunching(_ notification: Notification) {
|
||||||
|
|
Loading…
Reference in New Issue