Deleting QQuickWindow will force any remaining runnables to complete. This is important for any items (such as our new ThumbnailItem) that deletes resources in queued cleanups. We need to invoke this manually whilst we still have an active render control with a valid context, otherwise remaining runnables will no-op. We also then want to manually delete our scene contents before the view so they're not orphaned temporarily. This fixes a memory leak observed with the new Overview effect.remotes/origin/work/frame-timing-recorder
parent
fdb1914a83
commit
60255fd7a9
1 changed files with 4 additions and 0 deletions
Loading…
Reference in new issue