Skip to content

Commit

Permalink
Merge pull request #12226 from claudiux/sound_prevents-multiple-CvcMi…
Browse files Browse the repository at this point in the history
…xercontrol

[sound@cinnamon.org] Prevents Cvc.MixerControl from being loaded more than once
  • Loading branch information
claudiux committed Jun 9, 2024
2 parents fee5a32 + 158bd30 commit 25f8e1c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions files/usr/share/cinnamon/applets/sound@cinnamon.org/applet.js
Original file line number Diff line number Diff line change
Expand Up @@ -1137,6 +1137,9 @@ class CinnamonSoundApplet extends Applet.TextIconApplet {

for(let i in this._players)
this._players[i].destroy();

if (this._control)
this._control.close();
}

on_applet_clicked(event) {
Expand Down

0 comments on commit 25f8e1c

Please sign in to comment.