Make seeking when there's a pending reset more obviously correct
If there's already a pending reset, we need only update the pending reset position. We can currently end up calling cancelLoading more than once on the loader for the same task, which is hard to reason about (although I don't think anything actually broke in practice). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=212432266
Showing
with
32 additions
and
16 deletions
Please
register
or
sign in
to comment