mirror of
https://github.com/lubosz/overte.git
synced 2025-04-16 06:16:18 +02:00
Merge pull request #10692 from jherico/fix_tablet_crash
Fix crash on exit when tablet is open
This commit is contained in:
commit
347f020b04
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
|
||||
_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
|
||||
|
|
Loading…
Reference in a new issue