diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-09 14:31:49 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-09 14:44:24 -0600 |
commit | 1158bce840bbd76a297c4f5eefd19444584f6fcd (patch) | |
tree | 1b06a0d9b5b8ec4c3760b3572fe4fe96285d35a7 /src/net | |
parent | 31afa067800d048985deb9ebe45c9729dfd39a00 (diff) | |
download | mana-client-1158bce840bbd76a297c4f5eefd19444584f6fcd.tar.gz mana-client-1158bce840bbd76a297c4f5eefd19444584f6fcd.tar.bz2 mana-client-1158bce840bbd76a297c4f5eefd19444584f6fcd.tar.xz mana-client-1158bce840bbd76a297c4f5eefd19444584f6fcd.zip |
Remove a segfault when exiting the client
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/tmwserv/generalhandler.cpp | 2 |
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) |