sensics / OSVR-RenderManager

Apache License 2.0
64 stars 45 forks source link

Delete the pose cache before destroying the context to avoid seg faul… #331

Closed russell-taylor closed 7 years ago

russell-taylor commented 7 years ago

…t in debug mode.

Fixes issue https://github.com/sensics/OSVR-RenderManager/issues/327 which should be closed once this has been merged.

rpavlik commented 7 years ago

Ah, right, good catch. Sorry - used to having RAII objects everywhere taking care of all disposal, so then it's just a matter of putting things in the right order in the object.