Ensure the QML content gets destroyed on deletion of a QML surface

This commit is contained in:
Brad Davis 2016-02-10 11:25:49 -08:00
parent a8ec4bb844
commit a4f2fc58fd

View file

@ -313,7 +313,7 @@ OffscreenQmlSurface::OffscreenQmlSurface() {
OffscreenQmlSurface::~OffscreenQmlSurface() {
_renderer->stop();
delete _rootItem;
delete _renderer;
delete _qmlComponent;
delete _qmlEngine;