Browse Source

Delete qml engine prior to toolbox

QGC4.4
Don Gagne 6 years ago
parent
commit
fb917c16d9
  1. 3
      src/QGCApplication.cc

3
src/QGCApplication.cc

@ -448,6 +448,9 @@ void QGCApplication::setLanguage() @@ -448,6 +448,9 @@ void QGCApplication::setLanguage()
void QGCApplication::_shutdown()
{
// Close out all Qml before we delete toolbox. This way we don't get all sorts of null reference complaints from Qml.
delete _qmlAppEngine;
shutdownVideoStreaming();
delete _toolbox;
}

Loading…
Cancel
Save