summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
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;