Fix for radio stream being null

This commit is contained in:
Vortrex
2022-01-31 13:45:57 -06:00
parent 0f846dcfed
commit 250b584866

View File

@@ -22,7 +22,9 @@ function playStreamingRadio(url, loop, volume, element = false) {
// ===========================================================================
function stopStreamingRadio() {
streamingRadio.stop();
if(streamingRadio != null) {
streamingRadio.stop();
}
streamingRadio = null;
}