summaryrefslogtreecommitdiff
path: root/src/net/tmwserv/generalhandler.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-09 14:31:49 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-09 14:44:24 -0600
commit1158bce840bbd76a297c4f5eefd19444584f6fcd (patch)
tree1b06a0d9b5b8ec4c3760b3572fe4fe96285d35a7 /src/net/tmwserv/generalhandler.cpp
parent31afa067800d048985deb9ebe45c9729dfd39a00 (diff)
downloadmana-1158bce840bbd76a297c4f5eefd19444584f6fcd.tar.gz
mana-1158bce840bbd76a297c4f5eefd19444584f6fcd.tar.bz2
mana-1158bce840bbd76a297c4f5eefd19444584f6fcd.tar.xz
mana-1158bce840bbd76a297c4f5eefd19444584f6fcd.zip
Remove a segfault when exiting the client
Diffstat (limited to 'src/net/tmwserv/generalhandler.cpp')
-rw-r--r--src/net/tmwserv/generalhandler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/tmwserv/generalhandler.cpp b/src/net/tmwserv/generalhandler.cpp
index 504af023..e9b06270 100644
--- a/src/net/tmwserv/generalhandler.cpp
+++ b/src/net/tmwserv/generalhandler.cpp
@@ -93,6 +93,8 @@ void GeneralHandler::load()
void GeneralHandler::unload()
{
+ Net::clearHandlers();
+
if (accountServerConnection)
accountServerConnection->disconnect();
if (gameServerConnection)