summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)