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

15
LINES

< > BotCompany Repo | #1016468 - innerCleanUp

JavaX fragment (include)

svoid innerCleanUp(O c) {
  // call custom cleanMeUp() and cleanMeUp_*() functions
  
  if (!isFalse(pcallOpt(c, "cleanMeUp")))
    for (S name : sorted(methodsStartingWith(c, "cleanMeUp_"))) try {
      callOpt(c, name);
    } catch e {
      print("Error cleaning up: " + programID(c));
      _handleException(e);
    }
}

svoid innerCleanUp() {
  innerCleanUp(mc());
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1016468
Snippet name: innerCleanUp
Eternal ID of this version: #1016468/2
Text MD5: 9c2715f96bea11d8d8f2cd5b817521ed
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-05 12:45:10
Source code size: 385 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 222 / 246
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1016468 & http://1016468.tinybrain.de