Skip to content

Commit

Permalink
Remove stats assert since loader resets stats
Browse files Browse the repository at this point in the history
  • Loading branch information
robwalch committed Jan 28, 2020
1 parent b604c4f commit e70a5d3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/loader/fragment-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ export default class FragmentLoader {
};
// Assign frag stats to the loader's stats reference
loader.stats = frag.stats;
// Loaders are used once per fragment and should be reset at this point
console.assert(!frag.stats.loading.start, 'Frag stats should be unset before loading');
loader.load(loaderContext, loaderConfig, callbacks);
});
}
Expand Down

0 comments on commit e70a5d3

Please sign in to comment.