You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yosukehara
changed the title
[leo_backend_db][eleveldb] iterator handle can be leaked
[leo_backend_db][eleveldb] Iterator-handler can be leaked
Apr 28, 2017
While tackling #710 , I noticed there is a bug that causes an iterator handle to leak.
Once we call eleveldb:iterator, we must call eleveldb:iterator_close/1 (https://github.com/basho/eleveldb/blob/2.0.34/src/eleveldb.erl#L246-L250) otherwise the iterator handle is leaked.
TOBE
Should be implemented with try after manner like the below.
The text was updated successfully, but these errors were encountered: