fix(): fix stream_keys iterator not being able to finish

This commit is contained in:
Ryan Schmukler 2016-08-16 16:37:53 -07:00
parent 1f74e54af2
commit c5ae68cad9
1 changed files with 1 additions and 1 deletions

View File

@ -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