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
autocomplete: Terminate the already-running search when there is a new one
Before this fix, when there was a search in progress in `_startSearch`,
and then for some reason, `_startSearch` was called again, like through
`refreshStaleUserResults`, the new search would do its work and update
`_results` field, but also the current search would be retried and this
in its turn, would also update `_results` in the same way as before,
doing the same thing for the second time.
This fix terminates the current in-progress search and leaves the room
for the new search to do its work.
0 commit comments