refactor: destroy pulse-instance if pipewire is detected
This commit is contained in:
parent
a7c0a17fe1
commit
74e01b772c
@ -23,6 +23,9 @@ namespace Soundux::Objects
|
|||||||
{
|
{
|
||||||
backend = Enums::BackendType::PipeWire;
|
backend = Enums::BackendType::PipeWire;
|
||||||
Globals::gSettings.audioBackend = backend;
|
Globals::gSettings.audioBackend = backend;
|
||||||
|
|
||||||
|
pulseInstance->destroy();
|
||||||
|
pulseInstance.reset();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user