mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 09:18:45 +02:00
Fix crash on exit when tablet is open
This commit is contained in:
parent
ae81738f1f
commit
7a6df850c5
1 changed files with 4 additions and 0 deletions
|
@ -1721,6 +1721,10 @@ void Application::cleanupBeforeQuit() {
|
||||||
|
|
||||||
// Cleanup all overlays after the scripts, as scripts might add more
|
// Cleanup all overlays after the scripts, as scripts might add more
|
||||||
_overlays.cleanupAllOverlays();
|
_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
|
// first stop all timers directly or by invokeMethod
|
||||||
// depending on what thread they run in
|
// depending on what thread they run in
|
||||||
|
|
Loading…
Reference in a new issue