|
|
@ -547,8 +547,8 @@ define([
|
|
|
|
lastKnownHash: rosterData.lastKnownHash,
|
|
|
|
lastKnownHash: rosterData.lastKnownHash,
|
|
|
|
onCacheReady: function (_roster) {
|
|
|
|
onCacheReady: function (_roster) {
|
|
|
|
if (!cache) { return; }
|
|
|
|
if (!cache) { return; }
|
|
|
|
console.error('Corrupted roster cache, cant load this team offline', teamData);
|
|
|
|
|
|
|
|
if (_roster && _roster.error === "CORRUPTED") {
|
|
|
|
if (_roster && _roster.error === "CORRUPTED") {
|
|
|
|
|
|
|
|
console.error('Corrupted roster cache, cant load this team offline', teamData);
|
|
|
|
if (lm && typeof(lm.stop) === "function") { lm.stop(); }
|
|
|
|
if (lm && typeof(lm.stop) === "function") { lm.stop(); }
|
|
|
|
waitFor.abort();
|
|
|
|
waitFor.abort();
|
|
|
|
cb({error: 'CACHE_CORRUPTED_ROSTER'});
|
|
|
|
cb({error: 'CACHE_CORRUPTED_ROSTER'});
|
|
|
|