Right now if you debug hello_xr and then hit ENTER in the console window, it doesn't exit because the thread waiting on the Overlay app to connect is still running. Make a semaphore and add it to the wait that indicates "you should stop waiting now and exit gracefully".
Right now if you debug hello_xr and then hit ENTER in the console window, it doesn't exit because the thread waiting on the Overlay app to connect is still running. Make a semaphore and add it to the wait that indicates "you should stop waiting now and exit gracefully".