Skip to content

Commit 2b941c7

Browse files
committed
More logging
1 parent 79d6a67 commit 2b941c7

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

injected/src/features/duckplayer-native/duckplayer-native.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export async function initDuckPlayerNative(messages) {
6262
clearInterval(timestampPolling);
6363
});
6464

65-
return async () => {
66-
return await Promise.all(sideEffects.map((destroy) => destroy()));
67-
};
65+
// return async () => {
66+
// return await Promise.all(sideEffects.map((destroy) => destroy()));
67+
// };
6868
}

injected/src/features/duckplayer-native/native-messages.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export class DuckPlayerNativeMessages {
5555
* @param {() => void} callback
5656
*/
5757
onMediaControl(callback) {
58+
console.log('Subscribing to onMediaControl');
5859
return this.messaging.subscribe('onMediaControl', callback);
5960
}
6061

@@ -63,6 +64,7 @@ export class DuckPlayerNativeMessages {
6364
* @param {(muteSettings: muteSettings) => void} callback
6465
*/
6566
onMuteAudio(callback) {
67+
console.log('Subscribing to onMuteAudio');
6668
return this.messaging.subscribe('onMuteAudio', callback);
6769
}
6870

@@ -71,6 +73,7 @@ export class DuckPlayerNativeMessages {
7173
* @param {() => void} callback
7274
*/
7375
onSerpNotify(callback) {
76+
console.log('Subscribing to onSerpNotify');
7477
return this.messaging.subscribe('onSerpNotify', callback);
7578
}
7679

0 commit comments

Comments
 (0)