Skip to content

Commit

Permalink
Prevents Cvc.MixerControl from being loaded more than once
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiux committed Jun 9, 2024
1 parent fee5a32 commit 158bd30
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 158bd30

Please sign in to comment.