forked from rrweb-io/rrweb
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(replayer): Fix null objects on playback (#38)
These objects can all be null (e.g. if player is playing and we navigate to a page without player, due to async, the player can be destroyed by the time we try to access these objects). Remove the non-null assertion operator as typescript is right that they can be null. Fixes https://sentry.sentry.io/issues/2628382889/, https://sentry.sentry.io/issues/3616367681/, https://sentry.sentry.io/issues/2669497075/, https://sentry.sentry.io/issues/3549471392/
- Loading branch information
Showing
1 changed file
with
13 additions
and
7 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