Commit b3fe6379 authored by Jonathan Marten's avatar Jonathan Marten
Browse files

Mixer: Delay the deletion of the backend

The immediate deletion caused a crash with PulseAudio and
the replacement Qt mainloop.

BUG:425469
parent 1e06bd18
......@@ -112,7 +112,7 @@ Mixer::Mixer(const QString &ref_driverName, int device)
Mixer::~Mixer() {
// Close the mixer. This might also free memory, depending on the called backend method
close();
delete _mixerBackend;
_mixerBackend->deleteLater();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment