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

6
LINES

< > BotCompany Repo | #1024920 // exitIfMain

JavaX fragment (include)

svoid exitIfMain() {
  if (isMain()) {
    if (!headless()) sleepSeconds(3);
    cleanKill();
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024920
Snippet name: exitIfMain
Eternal ID of this version: #1024920/1
Text MD5: 6e520ac713b92023c0ec066f5254ef06
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-30 10:52:07
Source code size: 104 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 158 / 191
Referenced in: [show references]