summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index f6126693..f5b3c4d8 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1029,7 +1029,7 @@ int main(int argc, char *argv[])
chatServerConnection->isConnected())
{
accountServerConnection->disconnect();
- Net::clearHandlers();
+// Net::clearHandlers();
state = STATE_GAME;
}
@@ -1308,6 +1308,7 @@ int main(int argc, char *argv[])
case STATE_EXIT:
logger->log("State: EXIT");
logoutThenExit();
+ Net::getGeneralHandler()->unload();
break;
default: