overte-HifiExperiments/interface
Anthony Thibault 23aa626755 Destroy render scene & engine before Application is destroyed
Many render items/payloads contain smart pointers back to the
objects that added them to the scene, including entity and avatar
objects. Currently, those render items are destroyed when the
scene is destroyed very late in the application life-cycle.

There are rare crashes that can occur when these render items are
destroyed. Possibly, due to them referencing objects that have
already been destroyed via raw pointers. In an effort to
eliminate these crashes, we now destroy the scene earlier, within
Application::aboutToQuit() which is connected to the
QCoreApplication::aboutToQuit signal.  Also, we guard against null
scene pointer dereferences.  Any location that accesses the scene
off the main thread, now checks the validity of the scene pointer.
2016-10-25 15:28:37 -07:00
..
external
i18n
icon lots 2016-03-31 09:21:08 -07:00
resources Merge branch 'master' of https://github.com/highfidelity/hifi into xboxLasers 2016-10-24 20:24:29 -07:00
src Destroy render scene & engine before Application is destroyed 2016-10-25 15:28:37 -07:00
ui
CMakeLists.txt add custom QWebEngine request interceptor 2016-10-17 11:34:10 -07:00
interface.exe.manifest Add Windows manifest to interface.exe 2016-03-31 14:20:19 -07:00