Skip to content

Commit d7fcf0a

Browse files
authored
AWTSettingsDialog: System.gc() - intentional double call
1 parent 76dbff2 commit d7fcf0a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

jme3-awt-dialogs/src/main/java/com/jme3/awt/AWTSettingsDialog.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,10 @@ public void actionPerformed(ActionEvent e) {
563563
// on Linux when using AWT/Swing + GLFW.
564564
// For more info see:
565565
// https://github.com/LWJGL/lwjgl3/issues/149,
566-
// https://hub.jmonkeyengine.org/t/experimenting-lwjgl3/37275
566+
567+
// intentional double call. see this discussion:
568+
// https://hub.jmonkeyengine.org/t/experimenting-lwjgl3/37275/12
569+
System.gc();
567570
System.gc();
568571
}
569572
}

0 commit comments

Comments
 (0)