-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed hasReceivers_ into a class variable.
If you call chrome.cast.initialize a second time, it does not error but it also does not fire off receiverStatusChanged in order to signal the initial receiver status. This can result in problems if the CastProxy is destroyed and then re-created; specifically, it will erroneously claim to be unable to cast until the receiver status next changes. This makes hasReceivers_ into a class variable, so that a new sender will use the hasReceivers_ of previous ones. The original bug report was kind of confusing, so I cannot say for sure if this actually solves their problem or not. Hopefully it does. Issue #768 Change-Id: I7839ed99a8c48c69567bbcaeb1f9b6728265d63b
- Loading branch information
1 parent
30d32b1
commit 7c60e5c
Showing
2 changed files
with
69 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters