Skip to content

Commit

Permalink
RUN-2309: Remove AutoDisallowEvents from MemoryCache::Prune (#802)
Browse files Browse the repository at this point in the history
  • Loading branch information
Domiii committed Jul 6, 2023
1 parent 2faf73d commit b9e52b8
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -371,10 +371,6 @@ void MemoryCache::Prune() {

recordreplay::Assert("[RUN-1975-2287] MemoryCache::Prune");

// Cache state can vary when replaying, make sure we don't interact
// with the recording while pruning.
recordreplay::AutoDisallowEvents disallow("MemoryCache::Prune");

if (in_prune_resources_)
return;
if (size_ <= capacity_) // Fast path.
Expand Down

0 comments on commit b9e52b8

Please sign in to comment.