feat: detect and prevent shutdowns using System#exit() #6
Labels
No labels
Blocked
ByBug
Blocked
ByDependency
Blocked
ByMissingFeature
Bug
Accepted
Bug
Fixed
Bug
In Progress
Bug
Invalid
Bug
ItWorksOnMyMachine
Bug
MoreInvestigation
Bug
New
Empty
FeatureRequest
Accepted
FeatureRequest
Implemented
FeatureRequest
In Progress
FeatureRequest
Invalid
FeatureRequest
New
FeatureRequest
PartiallyImplemented
FeatureRequest
WontAdd
Important
PR
BranchMerge
PR
BugFix
PR
Documentation
PR
FeatureAddition
PR
Miscellaneous
PR
Mixed
PR
New
PR
Tests
PR
Update
Roadmap
Stale
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Reference: StarOpenSource/Engine#6
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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()
insteadImplemented in
2fedc981af
and5284dfe17b
.