Bugfix: c5997faec86cb27aa52b0dbfa2729ccc050d7181 introduced a regression, it failed to properly stop the client with swing UI

This commit is contained in:
Laurent Clouet
2016-02-16 23:51:16 +01:00
parent 362c31618d
commit 554d6562df
3 changed files with 2 additions and 2 deletions

View File

@@ -346,8 +346,6 @@ public class Client {
} }
this.server = null; this.server = null;
this.gui.stop();
return 0; return 0;
} }

View File

@@ -64,6 +64,7 @@ public class GuiText implements Gui {
} }
else { else {
client.stop(); client.stop();
GuiText.this.stop();
} }
} }
}); });

View File

@@ -45,6 +45,7 @@ public class GuiTextOneLine implements Gui {
} }
else { else {
client.stop(); client.stop();
GuiTextOneLine.this.stop();
} }
} }
}); });