diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-06 23:25:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-06 23:25:25 +0300 |
commit | a4821447e2454ccb6435ca45524d6e7e9756f069 (patch) | |
tree | 6b35f5a0e02c35cd5cab16292f199c637c47a61b /src/gui/windows | |
parent | 55b8fdf0ed09cfba852ae4f9b41c669b28b3f7e9 (diff) | |
download | mv-a4821447e2454ccb6435ca45524d6e7e9756f069.tar.gz mv-a4821447e2454ccb6435ca45524d6e7e9756f069.tar.bz2 mv-a4821447e2454ccb6435ca45524d6e7e9756f069.tar.xz mv-a4821447e2454ccb6435ca45524d6e7e9756f069.zip |
Fix crash if opened char select dialog and whole game closed by X.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/charselectdialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp index f34f53d28..1c960b11c 100644 --- a/src/gui/windows/charselectdialog.cpp +++ b/src/gui/windows/charselectdialog.cpp @@ -198,6 +198,7 @@ CharSelectDialog::CharSelectDialog(LoginData *const data): CharSelectDialog::~CharSelectDialog() { + Net::getCharServerHandler()->clear(); } void CharSelectDialog::action(const gcn::ActionEvent &event) |