Skip to content

Commit

Permalink
remove explicit drop
Browse files Browse the repository at this point in the history
  • Loading branch information
apfitzge committed Dec 13, 2024
1 parent c6dffd7 commit 6190972
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -378,11 +378,6 @@ impl<Tx: TransactionWithMeta> PrioGraphScheduler<Tx> {
continue;
}
}
// Transaction must be dropped before removing, since we
// currently have ownership of the transaction, and
// therefore may have a reference to the backing-memory
// that the container expects to be free.
drop(transaction);
container.remove_by_id(id);
}

Expand Down

0 comments on commit 6190972

Please sign in to comment.