Skip to content

Commit

Permalink
fix: maybe destroy not pause
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Sep 5, 2024
1 parent 6d6dd2e commit a30adcd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ export const sessionRecordingPlayerLogic = kea<sessionRecordingPlayerLogicType>(
cache.hasInitialized = false
document.removeEventListener('fullscreenchange', cache.fullScreenListener)
cache.pausedMediaElements = []
values.player?.replayer?.pause()
values.player?.replayer?.destroy()
actions.setPlayer(null)
cache.unmountConsoleWarns?.()

Expand Down

0 comments on commit a30adcd

Please sign in to comment.