diff --git a/src/audio/audio.cpp b/src/audio/audio.cpp index 535d3feda..508a29274 100644 --- a/src/audio/audio.cpp +++ b/src/audio/audio.cpp @@ -313,7 +313,7 @@ bool Audio::initOutput(const QString& outDevDescr) else { qWarning() << "Cannot create output audio context"; - alcCloseDevice(alOutDev); + cleanupOutput(); return false; } }