mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-11 17:48:45 +08:00
[libgdx] Fixed Skeleton Viewer not closing in some cases.
This commit is contained in:
parent
57b985a382
commit
537978eb0a
@ -352,6 +352,11 @@ public class SkeletonViewer extends ApplicationAdapter {
|
||||
if (!ui.minimizeButton.isChecked()) ui.window.setHeight(height / uiScale + 8);
|
||||
}
|
||||
|
||||
public void dispose () {
|
||||
super.dispose();
|
||||
Runtime.getRuntime().exit(0);
|
||||
}
|
||||
|
||||
static public void main (String[] args) throws Exception {
|
||||
try { // Try to turn off illegal access log messages.
|
||||
Class loggerClass = Class.forName("jdk.internal.module.IllegalAccessLogger");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user