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

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

    appStarted = false;
  }
Beispiel #2
0
  public static void initiateDatabase() {
    if (db != null) return;

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