diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-01-08 06:11:56 +0000 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-01-08 06:11:56 +0000 |
commit | 9b6e5a3189311d5704993d41a1fa195e006a57af (patch) | |
tree | ba460bd206148e7e072ce8ff273314a7f88d45ff /src/main.cpp | |
parent | a4dc1b83d8760f80e5cdcfded5473ec7c2c76d6d (diff) | |
download | mana-9b6e5a3189311d5704993d41a1fa195e006a57af.tar.gz mana-9b6e5a3189311d5704993d41a1fa195e006a57af.tar.bz2 mana-9b6e5a3189311d5704993d41a1fa195e006a57af.tar.xz mana-9b6e5a3189311d5704993d41a1fa195e006a57af.zip |
Fix a segfault when exiting before netcode is loaded
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 016dfe9e..3c3d3232 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1237,7 +1237,7 @@ int main(int argc, char *argv[]) case STATE_EXIT: logger->log("State: EXIT"); - Net::getGeneralHandler()->unload(); + Net::unload(); break; case STATE_FORCE_QUIT: |