better error handeling

This commit is contained in:
IrosTheBeggar 2021-01-17 01:52:06 -05:00
parent 9766d8fe0b
commit fa74a6104c

View File

@ -626,9 +626,7 @@ const MSTREAMPLAYER = (() => {
// Invalidate cache
const newOtherPlayerObject = getOtherPlayer();
newOtherPlayerObject.songObject = false;
newOtherPlayerObject.playerObject.src = '';
playerObj.playerObject.onended = () => {};
newOtherPlayerObject.playerObject.load();
}
});
}