From a30adcd9ee7f07f2a252ace7d6775db316b75530 Mon Sep 17 00:00:00 2001 From: Paul D'Ambra Date: Thu, 5 Sep 2024 22:55:04 +0100 Subject: [PATCH] fix: maybe destroy not pause --- .../session-recordings/player/sessionRecordingPlayerLogic.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/scenes/session-recordings/player/sessionRecordingPlayerLogic.ts b/frontend/src/scenes/session-recordings/player/sessionRecordingPlayerLogic.ts index dd56272db691a..7bede32af5ad9 100644 --- a/frontend/src/scenes/session-recordings/player/sessionRecordingPlayerLogic.ts +++ b/frontend/src/scenes/session-recordings/player/sessionRecordingPlayerLogic.ts @@ -1063,7 +1063,7 @@ export const sessionRecordingPlayerLogic = kea( cache.hasInitialized = false document.removeEventListener('fullscreenchange', cache.fullScreenListener) cache.pausedMediaElements = [] - values.player?.replayer?.pause() + values.player?.replayer?.destroy() actions.setPlayer(null) cache.unmountConsoleWarns?.()