mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-13 08:33:00 -06:00
Fix bug when stopping audio
This commit is contained in:
parent
f1bfeaa3a5
commit
5e63705cdc
|
|
@ -227,6 +227,9 @@ export class AppRadioService implements OnDestroy {
|
|||
stop(): void {
|
||||
if (this._call.current) {
|
||||
this._audio.pause();
|
||||
|
||||
this._audio.src = null;
|
||||
this._audio.load();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue