diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 0e4da4b158..536643012c 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -1780,8 +1780,9 @@ void Application::cleanupBeforeQuit() { // stop QML DependencyManager::destroy(); - delete _snapshotSoundInjector; - _snapshotSoundInjector = nullptr; + if (_snapshotSoundInjector != nullptr) { + _snapshotSoundInjector->stop(); + } // stop audio after QML, as there are unexplained audio crashes originating in qtwebengine