Skip to content

Commit 9b77ee4

Browse files
authored
runfix: reset audioElement media after stopping (#13978)
1 parent 3c8bcb1 commit 9b77ee4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/script/audio/AudioRepository.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ export class AudioRepository {
206206
if (!audioElement?.paused) {
207207
this.logger.info(`Stopping sound '${audioId}'`);
208208
audioElement.pause();
209+
audioElement.load();
209210
}
210211
};
211212

0 commit comments

Comments
 (0)