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;
|
||||
Globals::gSettings.audioBackend = backend;
|
||||
|
||||
pulseInstance->destroy();
|
||||
pulseInstance.reset();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user