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 9, 2024
1 parent 31da1b2 commit 6ccd99a
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -358,11 +358,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 6ccd99a

Please sign in to comment.