aboutsummaryrefslogtreecommitdiffstats
path: root/Drop Serve/AppDelegate.m
diff options
context:
space:
mode:
Diffstat (limited to 'Drop Serve/AppDelegate.m')
-rw-r--r--Drop Serve/AppDelegate.m7
1 files changed, 7 insertions, 0 deletions
diff --git a/Drop Serve/AppDelegate.m b/Drop Serve/AppDelegate.m
index f92f421..4a72685 100644
--- a/Drop Serve/AppDelegate.m
+++ b/Drop Serve/AppDelegate.m
@@ -8,6 +8,8 @@
#import "AppDelegate.h"
+#import "Server.h"
+
@implementation AppDelegate
- (void)dealloc
@@ -19,4 +21,9 @@
{
}
+- (void)applicationWillTerminate:(NSNotification *)notification
+{
+ [Server stop];
+}
+
@end