Skip to content

Commit 1f3a0bf

Browse files
committed
fix: stop all players blocking player at the pause state
1 parent b397be7 commit 1f3a0bf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/Waveform/Waveform.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,8 @@ export const Waveform = forwardRef<IWaveformRef, IWaveform>((props, ref) => {
261261
);
262262
}
263263
} catch (error) {
264+
// If the player is not more initialized, the below will unblock the player
265+
await stopPlayerAction();
264266
return Promise.reject(error);
265267
}
266268
} else {

0 commit comments

Comments
 (0)