aboutsummaryrefslogtreecommitdiff
path: root/singleapplication.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'singleapplication.cpp')
-rw-r--r--singleapplication.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/singleapplication.cpp b/singleapplication.cpp
index 4858f96..18044da 100644
--- a/singleapplication.cpp
+++ b/singleapplication.cpp
@@ -17,7 +17,6 @@ SingleApplication::SingleApplication(int &argc, char *argv[])
socket = new QLocalSocket();
socket->connectToServer(serverName);
if(socket->waitForConnected(1000)){
- socket->close();
::exit(EXIT_SUCCESS); // Terminate the program using STDLib's exit function
} else {
// If the connection is insuccessful, this is the main process