public static void destroy() { for (SuperShell s : shells) s.destroy(); shells.clear(); if (db != null) { db.close(); db = null; } appStarted = false; }
public static void initiateDatabase() { if (db != null) return; db = new ActionValueDatabase(); db.createDataBase(); }