mirror of
https://github.com/sogou/workflow.git
synced 2026-02-08 01:33:17 +08:00
fix LRUCache prune()
This commit is contained in:
@@ -105,7 +105,7 @@ public:
|
||||
|
||||
list_for_each_safe(pos, tmp, &this->not_use)
|
||||
{
|
||||
e = list_entry(&pos, Handle, list);
|
||||
e = list_entry(pos, Handle, list);
|
||||
assert(e->ref == 1);
|
||||
rb_erase(&e->rb);
|
||||
this->erase_node(e);
|
||||
|
||||
Reference in New Issue
Block a user