Skip to content

Commit 6599a88

Browse files
author
Sravan S
authored
fix: Stop voice player when recorder exits (#609)
Fixes: https://sendbird.atlassian.net/browse/UIKIT-3901
1 parent c5f43a5 commit 6599a88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/modules/Channel/components/MessageInput/VoiceMessageInputWrapper.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ export const VoiceMessageInputWrapper = ({
104104
onCancelClick={() => {
105105
onCancelClick();
106106
cancel();
107+
stopVoicePlayer();
107108
}}
108109
onSubmitClick={() => {
109110
if (isDisabled) {

0 commit comments

Comments
 (0)