forked from enlightenment/efl
eina_rbtree: Clean array intead of flush.
It doesn't have to flush all of the time when it iterating. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10858
This commit is contained in:
parent
9060032a88
commit
0902bb4e01
|
@ -131,7 +131,7 @@ _eina_rbtree_iterator_free(Eina_Iterator_Rbtree *it)
|
|||
free(item);
|
||||
}
|
||||
|
||||
eina_array_flush(it->stack);
|
||||
eina_array_clean(it->stack);
|
||||
|
||||
eina_spinlock_take(&iterator_trash_lock);
|
||||
eina_array_push(&iterator_trash, it);
|
||||
|
|
Loading…
Reference in New Issue