Update heed and milli

This commit is contained in:
Clémentine Urquizar 2021-06-29 10:25:47 +02:00
parent 261df4b386
commit c09e610bb5
No known key found for this signature in database
GPG key ID: D8E7CC7422E77E1A
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);