Introduce ShutdownHook in Zircon
See original GitHub issueI’m using zircon as my main graphics in a game, but when i close the terminal and java exits, The audio thread has not been closed, and is likely still running.I have no direct control over the audio thread, so I can’t get the thread to check if it’s closed. Could a terminal.onClosed(event)
, or even just an additional InputType
to support “terminal closed” be created?
Issue Analytics
- State:
- Created 6 years ago
- Comments:15 (8 by maintainers)
Top Results From Across the Web
New Zircon Release: 2018.5.0-RELEASE | Hexworks
This feature will be enhanced later. #76: Introduce ShutdownHook in Zircon. Now ShutdownHook can be used to notify the user before Zircon closes....
Read more >JVM Shutdown Hook in Java - GeeksforGeeks
Shutdown Hooks are a special construct that allows developers to plug in a piece of code to be executed when the JVM is...
Read more >Zircon, a user-friendly Tile Grid & Text GUI - Reddit
Zircon is a user-friendly Text GUI & Tile Engine. Take a look here. ... #76: Introduce ShutdownHook in Zircon. Now ShutdownHook can be...
Read more >Design of Shutdown Hooks API
... the security team is planning to introduce a notion of per-thread user ... Suppose that a Runnable shutdown hook, or an equivalent...
Read more >Learn the Working of Shutdown Hook in Java - eduCBA
Introduction to Java Shutdown Hook ... lang.Thread class and necessary logic is provided inside a public void run() method during the shutting down...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, this has worked. Thank you so much for your time.
Cool! Feel free to open an issue if you have any other problems.