Fixes hash table entries not purged

Fixes #4528
This commit is contained in:
Simone Mainardi 2020-10-05 17:48:55 +02:00
parent dbf1056a70
commit d15e1c4e71
4 changed files with 12 additions and 17 deletions

View file

@ -211,7 +211,7 @@ class GenericHashEntry {
*
*/
virtual bool is_hash_entry_state_idle_transition_ready() const {
return(true);
return getUses() == 0 && is_active_entry_now_idle(MAX_HASH_ENTRY_IDLE);
}
/**