ho0ber / NK2Tray

Windows Application Volume Control via MIDI
Microsoft Public License
167 stars 26 forks source link

Fix program hanging on exit due to worker thread being alive #61

Closed jpwilliams closed 4 years ago

jpwilliams commented 4 years ago

I spotted a bug with #58 a little too late, so here's a fix for it.

Currently, if the application is exited, the worker thread used to access the pop-up is still running. This ensures it shuts down properly by using InvokeShutdown().