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

9
LINES

< > BotCompany Repo | #1016302 // _registerTimer_original (if you override _registerTimer)

JavaX fragment (include)

static Set<java.util.Timer> _registerTimer_list = newWeakHashSet();

static void _registerTimer_original(java.util.Timer timer) {
  _registerTimer_list.add(timer);
}

static void cleanMeUp__registerTimer() {
  cancelTimers(getAndClearList(_registerTimer_list));
}

Author comment

Began life as a copy of #1013153

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: #1016302
Snippet name: _registerTimer_original (if you override _registerTimer)
Eternal ID of this version: #1016302/2
Text MD5: ad1a55427b0085baa090b1743ffd1a1f
Author: stefan
Category: javax / timers
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-17 00:39:18
Source code size: 271 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 393 / 440
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)