summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-06 23:25:25 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-06 23:25:25 +0300
commita4821447e2454ccb6435ca45524d6e7e9756f069 (patch)
tree6b35f5a0e02c35cd5cab16292f199c637c47a61b /src
parent55b8fdf0ed09cfba852ae4f9b41c669b28b3f7e9 (diff)
downloadplus-a4821447e2454ccb6435ca45524d6e7e9756f069.tar.gz
plus-a4821447e2454ccb6435ca45524d6e7e9756f069.tar.bz2
plus-a4821447e2454ccb6435ca45524d6e7e9756f069.tar.xz
plus-a4821447e2454ccb6435ca45524d6e7e9756f069.zip
Fix crash if opened char select dialog and whole game closed by X.
Diffstat (limited to 'src')
-rw-r--r--src/gui/windows/charselectdialog.cpp1
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)