Commit b00e2149 authored by tourettes's avatar tourettes Committed by hpi1

Make sure BD-J window is set hidden before GUIManager instance is disposed

parent 85a9a2c9
......@@ -219,6 +219,8 @@ public class BDJLoader {
private static boolean unloadN() {
try {
GUIManager.getInstance().setVisible(false);
AppsDatabase db = AppsDatabase.getAppsDatabase();
/* stop xlets first */
......@@ -240,9 +242,6 @@ public class BDJLoader {
PlayerManager.getInstance().releaseAllPlayers(true);
//GUIManager.shutdown() does not work with J2ME (window can't be opened again)
GUIManager.getInstance().setVisible(false);
return true;
} catch (Throwable e) {
logger.error("unloadN() failed: " + e);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment