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
-2
View File
@@ -346,8 +346,6 @@ public class Client {
}
this.server = null;
this.gui.stop();
return 0;
}
@@ -64,6 +64,7 @@ public class GuiText implements Gui {
}
else {
client.stop();
GuiText.this.stop();
}
}
});
@@ -45,6 +45,7 @@ public class GuiTextOneLine implements Gui {
}
else {
client.stop();
GuiTextOneLine.this.stop();
}
}
});