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

4
LINES

< > BotCompany Repo | #1020634 // dm_releaseResource

JavaX fragment (include)

svoid dm_releaseResource(AutoCloseable resource) {
  dm_current_mandatory()._resources.remove(resource);
  close(resource);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020634
Snippet name: dm_releaseResource
Eternal ID of this version: #1020634/2
Text MD5: 0067744f5a19dc8f0e26ca7c2ead68a8
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-29 00:33:26
Source code size: 128 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 264 / 303
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)