mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-13 23:46:29 +02:00
Ensure the QML content gets destroyed on deletion of a QML surface
This commit is contained in:
parent
a8ec4bb844
commit
a4f2fc58fd
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ OffscreenQmlSurface::OffscreenQmlSurface() {
|
|||
|
||||
OffscreenQmlSurface::~OffscreenQmlSurface() {
|
||||
_renderer->stop();
|
||||
|
||||
delete _rootItem;
|
||||
delete _renderer;
|
||||
delete _qmlComponent;
|
||||
delete _qmlEngine;
|
||||
|
|
Loading…
Reference in a new issue