Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

15
LINES

< > BotCompany Repo | #1009420 // dbOff - switch database off again

JavaX fragment (include)

please include function conceptsAndBot.
please include function dbBot.

static void dbOff() {
  lock dbLock();
  if (!conceptsAndBot_running) ret;
  conceptsAndBot_running = false;
  if (dbBot_instance != null) {
    dbBot_instance.dispose();
    dbBot_instance = null;
  }
  print("Main concepts dirty? " + (mainConcepts.changes != mainConcepts.changesWritten) + " Main concepts autosaver? " + (mainConcepts.autoSaver != null));
  cleanMeUp_concepts();
  mainConcepts.clearConcepts();
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1009420
Snippet name: dbOff - switch database off again
Eternal ID of this version: #1009420/5
Text MD5: 34bc7dcd22e1dd413a9cd4f27a4a237f
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-01 18:31:51
Source code size: 501 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 503 / 543
Version history: 4 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)