aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2020-10-10 23:46:48 +0200
committerTeddy Wing2020-10-10 23:46:48 +0200
commit684e47c5ef2be21938d7b937f116cbf0c0ca72e2 (patch)
treef361aa82bc4b0779b812b965e2f8a755960f7b5a
parente76001faf1c4439d0009ef1ab380d949316a2d86 (diff)
downloadDrop-Serve-684e47c5ef2be21938d7b937f116cbf0c0ca72e2.tar.bz2
Server(stop): Deallocate `_process`
Forgot to free the process after interrupting it.
-rw-r--r--Drop Serve/Server.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Drop Serve/Server.m b/Drop Serve/Server.m
index c0c69c3..db04a61 100644
--- a/Drop Serve/Server.m
+++ b/Drop Serve/Server.m
@@ -28,6 +28,7 @@
+ (void)stop
{
[_process interrupt];
+ [_process dealloc];
}
+ (void)openInBrowser