// Hopefully this is enough to make sure the code inside Runnable is loaded (in case our jar was removed from disk) static Runnable rHardExit_runnable = r { pcall { print("Hard VM exit"); } System.exit(1); }; static Runnable rHardExit() { ret rHardExit_runnable; }
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: | #1025289 |
Snippet name: | rHardExit - exit VM if it's broken (e.g. missing classes) |
Eternal ID of this version: | #1025289/2 |
Text MD5: | 900c37d3542dba6bf765cdd6921e6bac |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-09-18 21:21:25 |
Source code size: | 279 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 328 / 380 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |