mirror of https://github.com/poanetwork/rox.git
fix(): fix stream_keys iterator not being able to finish
This commit is contained in:
parent
1f74e54af2
commit
c5ae68cad9
|
@ -218,7 +218,7 @@ defmodule Rox do
|
|||
{:ok, key} -> {[key], {iter, :next}}
|
||||
{:error, :invalid_iterator} -> {:halt, iter}
|
||||
end
|
||||
end, fn {iter,_} ->
|
||||
end, fn iter ->
|
||||
:erocksdb.iterator_close(iter)
|
||||
end)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue