Skip to content

Commit

Permalink
Try to fix crash (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
lenemter committed Jul 8, 2023
1 parent 1d78fa4 commit ef22189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PulseAudioManager.vala
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public class Sound.PulseAudioManager : GLib.Object {
}

public void change_device_mute (Device? device, bool mute = true) {
if (device == null) {
if (device == null || device.source_name == null) {
return;
}

Expand Down

0 comments on commit ef22189

Please sign in to comment.