feat: detect and prevent shutdowns using System#exit() #6

Closed
opened 2024-08-21 00:03:57 +02:00 by JeremyStarTM · 1 comment
Owner

Feature description

Detecting and blocking the JVM shutdown sequence until the engine has been fully shut down.

Feature implementation

Registering a shutdown hook would do the job. Then simply print a message what the heck the application is doing, shutting down the engine and allowing the JVM shutdown sequence to continue.

Feature alternatives

Not doing that and hoping the developer isn't dumb/the application uses Engine#shutdown() instead

### Feature description Detecting and blocking the JVM shutdown sequence until the engine has been fully shut down. ### Feature implementation Registering a shutdown hook would do the job. Then simply print a message what the heck the application is doing, shutting down the engine and allowing the JVM shutdown sequence to continue. ### Feature alternatives Not doing that and hoping the developer isn't dumb/the application uses `Engine#shutdown()` instead
JeremyStarTM added the
FeatureRequest
New
label 2024-08-21 00:03:57 +02:00
JeremyStarTM added
FeatureRequest
Accepted
and removed
FeatureRequest
New
labels 2024-08-21 00:13:18 +02:00
JeremyStarTM added this to the v1-release0 milestone 2024-08-21 00:14:15 +02:00
JeremyStarTM added
FeatureRequest
In Progress
and removed
FeatureRequest
Accepted
labels 2024-08-21 01:40:11 +02:00
Author
Owner

Implemented in 2fedc981af and 5284dfe17b.

Implemented in 2fedc981af39087025bf74d68c7c3de993738858 and 5284dfe17b24e8ea6e8fe0ec54ea7fec8d168d53.
JeremyStarTM added
FeatureRequest
Implemented
and removed
FeatureRequest
In Progress
labels 2024-08-21 01:52:58 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: StarOpenSource/Engine#6
No description provided.