benvanik/vr.js

Cleanup OVR shutdown.

benvanik opened this issue · 0 comments

The call to OVR::System::Destroy(); in ovr_manager is currently commented out as it causes a hang. The problem seems to be that the Thread::FinishAllThreads() call deadlocks waiting for threads that are never properly cleaned up by the SDK (or Firefox kills them before this code executes).

It'd be nice to clean this up so that shutdown was clean in case the SDK starts requiring it.