amend qml/audio ordering comment

This commit is contained in:
Zach Pomerantz 2016-10-25 16:35:56 -07:00
parent 5413d97089
commit 78a04255ab

View file

@ -1567,7 +1567,7 @@ void Application::cleanupBeforeQuit() {
// stop QML // stop QML
DependencyManager::destroy<OffscreenUi>(); DependencyManager::destroy<OffscreenUi>();
// stop audio after QML, as the qtwebengine may use it, and may crash if it is already stopped // stop audio after QML, as there are unexplained audio crashes originating in qtwebengine
// stop the AudioClient, synchronously // stop the AudioClient, synchronously
QMetaObject::invokeMethod(DependencyManager::get<AudioClient>().data(), QMetaObject::invokeMethod(DependencyManager::get<AudioClient>().data(),