diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-06-12 21:54:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-06-12 21:54:11 +0300 |
commit | b4b9087a9b314c1e0c1cd4e581e3a61b2215a5c7 (patch) | |
tree | b38ade0dd51db7f9d0218e36db83a45b91921a39 /src/client.cpp | |
parent | aaea79df0b87ec528e02743c4324429b20a413ed (diff) | |
download | mv-b4b9087a9b314c1e0c1cd4e581e3a61b2215a5c7.tar.gz mv-b4b9087a9b314c1e0c1cd4e581e3a61b2215a5c7.tar.bz2 mv-b4b9087a9b314c1e0c1cd4e581e3a61b2215a5c7.tar.xz mv-b4b9087a9b314c1e0c1cd4e581e3a61b2215a5c7.zip |
Delete some forgotten variables from loginhandler on exit.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 3 |
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; |