summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-12 21:54:11 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-12 21:54:11 +0300
commitb4b9087a9b314c1e0c1cd4e581e3a61b2215a5c7 (patch)
treeb38ade0dd51db7f9d0218e36db83a45b91921a39 /src/client.cpp
parentaaea79df0b87ec528e02743c4324429b20a413ed (diff)
downloadplus-b4b9087a9b314c1e0c1cd4e581e3a61b2215a5c7.tar.gz
plus-b4b9087a9b314c1e0c1cd4e581e3a61b2215a5c7.tar.bz2
plus-b4b9087a9b314c1e0c1cd4e581e3a61b2215a5c7.tar.xz
plus-b4b9087a9b314c1e0c1cd4e581e3a61b2215a5c7.zip
Delete some forgotten variables from loginhandler on exit.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 02b4dc3af..5e1fca53b 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -568,6 +568,9 @@ Client::~Client()
NPCDB::unload();
StatusEffect::unload();
+ if (Net::getLoginHandler())
+ Net::getLoginHandler()->clearWorlds();
+
delete mumbleManager;
mumbleManager = 0;