-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(playhead): Safeguard getStallsDetected as stallDetector can be nu…
…ll (#4581) `player.getStats()` currently fails when `stallEnabled` is set to false in Player configuration. In this PR I've added a safeguard to make sure `getStallsDetected` returns 0 when `stallDetector` is null.
- Loading branch information
1 parent
ca60381
commit 5d12efd
Showing
3 changed files
with
3 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,3 +83,4 @@ Vincent Valot <[email protected]> | |
Wayne Morgan <[email protected]> | ||
Raymond Cheng <[email protected]> | ||
Blue Billywig <*@bluebillywig.com> | ||
Koen Romers <[email protected]> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -123,3 +123,4 @@ Wayne Morgan <[email protected]> | |
Yohann Connell <[email protected]> | ||
Raymond Cheng <[email protected]> | ||
Janroel Koppen <[email protected]> | ||
Koen Romers <[email protected]> |
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