You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know most browsers seem to handle clearInterval and clearTimeout the same way but for the sake of clarity, and since the timer is initialized with: refreshTimer = setTimeout(onRefreshTimer, delay);
I think it should be cleared through clearTimeout.
Actual code:
function stopManifestRefreshTimer() {
if (refreshTimer !== null) {
clearInterval(refreshTimer);
refreshTimer = null;
}
}
I know most browsers seem to handle
clearInterval
andclearTimeout
the same way but for the sake of clarity, and since the timer is initialized with:refreshTimer = setTimeout(onRefreshTimer, delay);
I think it should be cleared through
clearTimeout
.Actual code:
Source:
dash.js/src/streaming/ManifestUpdater.js
Line 110 in 13745c6
The text was updated successfully, but these errors were encountered: