Move http media server to separate class

This commit is contained in:
hensm
2019-05-01 23:20:39 +01:00
committed by Matt Hensman
parent fc1dd28254
commit b44056a255
7 changed files with 104 additions and 54 deletions

View File

@@ -39,6 +39,10 @@ extension AppDelegate: NSApplicationDelegate {
NSApp.activate(ignoringOtherApps: true)
}
func applicationDidResignActive(_ aNotification: Notification) {
self.mainWindow?.performClose(aNotification)
}
func applicationWillTerminate(_ aNotification: Notification) {}
func applicationShouldTerminateAfterLastWindowClosed(_ app: NSApplication) -> Bool {