arades79 / hyperdome

the safest place to reach out
Other
27 stars 1 forks source link

Allow KeyboardInterrupt exception to be handled with threads #87

Closed arades79 closed 4 years ago

arades79 commented 4 years ago

https://stackoverflow.com/questions/3788208

the main for hyperdome server tries to trap threads with keyboard interrupt which can lead to a race condition if daemonized.

This is also likely an issue in the client, where at certain times quitting via Ctrl+C will cause an error when the timer calls back to a deleted application, and causing a messy shutdown.