Esempio n. 1
0
  public static void destroy() {
    for (SuperShell s : shells) s.destroy();

    shells.clear();
    if (db != null) {
      db.close();
      db = null;
    }

    appStarted = false;
  }
Esempio n. 2
0
  public static void initiateDatabase() {
    if (db != null) return;

    db = new ActionValueDatabase();
    db.createDataBase();
  }