libovr interferes with WM_QUIT and clean shutdown
In Windows, to shut down an app cleanly, you're supposed to exit the message loop when you see a WM_QUIT message. This message usually gets posted upon closing the main window and signals to the OS that the app is going away.
However, I've found that libovr somehow interferes with WM_QUIT. I'm using DK2 direct mode and it appears that after calling ovrHmd_AttachToWindow(), my message loop never sees WM_QUIT. I've verified that it still gets posted upon closing the main window, but it never makes it to the message loop - so the app never shuts down and remains a zombie process. This doesn't happen if I comment out the call to ovrHmd_AttachToWindow().
I've worked around this by early exiting the message loop if my main window has gone away, but it would be nice to get this fixed. I assume libovr does not intend to screw around with my messages. :)
However, I've found that libovr somehow interferes with WM_QUIT. I'm using DK2 direct mode and it appears that after calling ovrHmd_AttachToWindow(), my message loop never sees WM_QUIT. I've verified that it still gets posted upon closing the main window, but it never makes it to the message loop - so the app never shuts down and remains a zombie process. This doesn't happen if I comment out the call to ovrHmd_AttachToWindow().
I've worked around this by early exiting the message loop if my main window has gone away, but it would be nice to get this fixed. I assume libovr does not intend to screw around with my messages. :)
