fine tuning the changes to respect clean up

This commit is contained in:
Sam Gateau 2017-10-01 20:05:48 -07:00
parent 0cbf19bcf1
commit 6c510bc18f

View file

@ -2018,7 +2018,8 @@ void Application::cleanupBeforeQuit() {
// 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();
_main3DScene->enqueueFrame(); // flush all the transactions
_main3DScene->processTransactionQueue(); // process and apply deletions
// first stop all timers directly or by invokeMethod
// depending on what thread they run in