Merge pull request #10692 from jherico/fix_tablet_crash

Fix crash on exit when tablet is open
This commit is contained in:
druiz17 2017-06-15 08:15:02 -07:00 committed by GitHub
commit 347f020b04

View file

@ -1721,6 +1721,10 @@ void Application::cleanupBeforeQuit() {
// Cleanup all overlays after the scripts, as scripts might add more
_overlays.cleanupAllOverlays();
// The cleanup process enqueues the transactions but does not process them. Calling this here will force the actual
// removal of the items.
// See https://highfidelity.fogbugz.com/f/cases/5328
_main3DScene->processTransactionQueue();
// first stop all timers directly or by invokeMethod
// depending on what thread they run in