Bugfix: c5997faec86cb27aa52b0dbfa2729ccc050d7181 introduced a regression, it failed to properly stop the client with swing UI
This commit is contained in:
@@ -346,8 +346,6 @@ public class Client {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.server = null;
|
this.server = null;
|
||||||
|
|
||||||
this.gui.stop();
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ public class GuiText implements Gui {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
client.stop();
|
client.stop();
|
||||||
|
GuiText.this.stop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ public class GuiTextOneLine implements Gui {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
client.stop();
|
client.stop();
|
||||||
|
GuiTextOneLine.this.stop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user