Fix bug when stopping audio

This commit is contained in:
Chrystian Huot 2019-06-18 08:18:14 -04:00
parent f1bfeaa3a5
commit 5e63705cdc

View file

@ -227,6 +227,9 @@ export class AppRadioService implements OnDestroy {
stop(): void { stop(): void {
if (this._call.current) { if (this._call.current) {
this._audio.pause(); this._audio.pause();
this._audio.src = null;
this._audio.load();
} }
} }