Commit 1290a991 authored by hpi1's avatar hpi1

BDJLoader: close players at unload

parent b3a138ff
......@@ -39,6 +39,7 @@ import org.videolan.bdjo.Bdjo;
import org.videolan.bdjo.GraphicsResolution;
import org.videolan.bdjo.PlayListTable;
import org.videolan.bdjo.TerminalInfo;
import org.videolan.media.content.PlayerManager;
public class BDJLoader {
public static boolean load(int title) {
......@@ -237,6 +238,8 @@ public class BDJLoader {
((BDJAppsDatabase)db).newDatabase(null, null);
PlayerManager.getInstance().releaseAllPlayers(true);
//GUIManager.shutdown() does not work with J2ME (window can't be opened again)
GUIManager.getInstance().setVisible(false);
......
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