aboutsummaryrefslogtreecommitdiffstats
path: root/Drop Serve/AppDelegate.m
blob: 697604c0fb69fad80e3f600db3ac1a4eb9089627 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//
//  AppDelegate.m
//  Drop Serve
//
//  Created by TW on 10/10/20.
//  Copyright (c) 2020 TW. All rights reserved.
//

#import "AppDelegate.h"

#import "Server.h"

@implementation AppDelegate

- (void)dealloc
{
	[super dealloc];
}

- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication
{
	return YES;
}

- (void)applicationWillTerminate:(NSNotification *)notification
{
	[Server stop];
}

@end