question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Introduce ShutdownHook in Zircon

See original GitHub issue

I’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:closed
  • Created 6 years ago
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
N-Morriscommented, Mar 25, 2018

Yes, this has worked. Thank you so much for your time.

0reactions
adam-aroldcommented, Mar 25, 2018

Cool! Feel free to open an issue if you have any other problems.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found