properly clean up radio hls instances
This commit is contained in:
parent
9ec60515e8
commit
43ed479de4
2 changed files with 12 additions and 3 deletions
|
@ -58,6 +58,10 @@ const Events = {
|
|||
try {
|
||||
app.mk._services.mediaItemPlayback._currentPlayer.destroy();
|
||||
} catch (e) {}
|
||||
try {
|
||||
this.radiohls.destroy()
|
||||
this.radiohls = null;
|
||||
} catch (_){}
|
||||
try {
|
||||
let searchInt = setInterval(function () {
|
||||
if (document.getElementById("apple-music-player")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue