1 | // Hopefully this is enough to make sure the code inside Runnable is loaded (in case our jar was removed from disk) |
2 | static Runnable rHardExit_runnable = r { |
3 | pcall { print("Hard VM exit"); } |
4 | System.exit(1); |
5 | }; |
6 | |
7 | static Runnable rHardExit() { |
8 | ret rHardExit_runnable; |
9 | } |
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: | 330 / 382 |
Version history: | 1 change(s) |
Referenced in: | [show references] |