This repository was archived by the owner on Sep 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
shell-volume-mixer@derhofbauer.at/lib Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ var Menu = class extends VolumeMenuExtension
228228 this . _addOutputStream ( stream , control , options ) ;
229229
230230 } else {
231- Log . info ( `Unhandled stream ${ stream . id } (${ stream . name } (${ stream . constructor } ))` ) ;
231+ Log . info ( `Unhandled stream ${ stream . id } (${ stream . name } (${ stream . constructor . name } ))` ) ;
232232 }
233233 }
234234
Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ var EventHandlerDelegate = class {
7777 disconnect ( target , signal ) {
7878 if ( typeof target === 'string' ) {
7979 signal = target ;
80- target = this . eventHandlerDelegate ;
8180 }
8281
8382 for ( let index in this . _signals ) {
@@ -96,8 +95,12 @@ var EventHandlerDelegate = class {
9695 * Disconnects all locally used signals.
9796 */
9897 disconnectAll ( ) {
98+ Log . info ( `Disconnecting ${ this . _signals . length } signal(s)` ) ;
99+
99100 while ( this . _signals . length > 0 ) {
100101 const [ target , id ] = this . _signals . pop ( ) ;
102+ Log . info ( `Disconnecting signal ${ id } from ${ target . constructor . name } ` ) ;
103+
101104 target . disconnect ( id ) ;
102105 }
103106 }
You can’t perform that action at this time.
0 commit comments