Closed djp952 closed 2 years ago
Fixed via https://github.com/djp952/hdhomeruntray/commit/f3a85c96597621cdceb979123365e954a741e9ed
I also had to add something to the WiX setup package to ask it to close the application with a WM_CLOSE rather than WM_QUERYENDSESSION.
The application seems to be closing normally and not leaving an orphaned tray icon, appears good
The tray icon will disappear, but the process will need to be killed manually. Probably because there is no 'main' window for the application. Might be able to add an event handler to the ShellNotifyIcon class to catch this in WndProc and raise it up the chain to the main application class.