Skip to content

Commit

Permalink
Fix undefined reference in commandhandler constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
YouKnowBlom committed Aug 6, 2020
1 parent d556338 commit 247883a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/maincontroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export function processMessage(data) {
let cmdHandler = window.commandHandler;

if (!cmdHandler) {
window.commandHandler = new commandHandler(window.castReceiverContext, window.mediaManager);
window.commandHandler = new commandHandler(window.castReceiverContext, window.mediaManager, playbackMgr);
cmdHandler = window.commandHandler;
}

Expand Down

0 comments on commit 247883a

Please sign in to comment.