256: Update heed and milli r=irevoire a=curquiza



Co-authored-by: Clémentine Urquizar <clementine@meilisearch.com>
This commit is contained in:
bors[bot] 2021-06-29 08:49:22 +00:00 committed by GitHub
commit f12ace3fbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 16 deletions

View file

@ -439,7 +439,9 @@ impl UpdateStore {
while let Some(Ok(((_, uuid, _), pending))) = pendings.next() {
if uuid == index_uuid {
pendings.del_current()?;
unsafe {
pendings.del_current()?;
}
let mut pending = pending.decode()?;
if let Some(update_uuid) = pending.content.take() {
uuids_to_remove.push(update_uuid);
@ -456,7 +458,9 @@ impl UpdateStore {
.lazily_decode_data();
while let Some(_) = updates.next() {
updates.del_current()?;
unsafe {
updates.del_current()?;
}
}
drop(updates);