Skip to content

Commit

Permalink
fix: call access when get
Browse files Browse the repository at this point in the history
Signed-off-by: MrCroxx <[email protected]>
  • Loading branch information
MrCroxx committed Feb 22, 2024
1 parent beb3b6a commit 53735cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions foyer-memory/src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ where
}
base.inc_ref();

self.eviciton.access(ptr);

Some(ptr)
}

Expand Down

0 comments on commit 53735cd

Please sign in to comment.