diff options
author | David Athay <ko2fan@gmail.com> | 2009-04-20 15:08:28 +0100 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2009-04-20 15:08:28 +0100 |
commit | f1d6803dd8a90db885d4d7c1734783acdcd95485 (patch) | |
tree | 5e0de497043464a240a3e43fda00d0500c499dab /src/main.cpp | |
parent | d6dbd51deeae42a621534e6565aaeb468ecc5d17 (diff) | |
download | Mana-f1d6803dd8a90db885d4d7c1734783acdcd95485.tar.gz Mana-f1d6803dd8a90db885d4d7c1734783acdcd95485.tar.bz2 Mana-f1d6803dd8a90db885d4d7c1734783acdcd95485.tar.xz Mana-f1d6803dd8a90db885d4d7c1734783acdcd95485.zip |
Fix clearing handlers on connecting to game server.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index f6126693..f5b3c4d8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1029,7 +1029,7 @@ int main(int argc, char *argv[]) chatServerConnection->isConnected()) { accountServerConnection->disconnect(); - Net::clearHandlers(); +// Net::clearHandlers(); state = STATE_GAME; } @@ -1308,6 +1308,7 @@ int main(int argc, char *argv[]) case STATE_EXIT: logger->log("State: EXIT"); logoutThenExit(); + Net::getGeneralHandler()->unload(); break; default: |