You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Those on server hosts that give console access but not SSH access cannot access the CLI.
Describe the solution you'd like
Ideally, detecting a crash and prompting the user - say, "Crash detected, do you want to enter the restoration cli?" with an automatic exit if there's no response.
Additional context
Whilst porting + bugfixing in Polychat2, I learnt about the existence of shutdown hooks - simply put, you can have the JVM start a thread when it's in the shutdown phase, and the JVM will stay running until that thread terminates.
This thread here could make sure all other threads terminate, then ask the question about booting the CLI.
Is your feature request related to a problem? Please describe.
Those on server hosts that give console access but not SSH access cannot access the CLI.
Describe the solution you'd like
Ideally, detecting a crash and prompting the user - say, "Crash detected, do you want to enter the restoration cli?" with an automatic exit if there's no response.
Additional context
Whilst porting + bugfixing in Polychat2, I learnt about the existence of shutdown hooks - simply put, you can have the JVM start a thread when it's in the shutdown phase, and the JVM will stay running until that thread terminates.
This thread here could make sure all other threads terminate, then ask the question about booting the CLI.
An example of polychat2's usage is here.
The text was updated successfully, but these errors were encountered: