Merge pull request #27 from eryx67/master

fix memory leak
This commit is contained in:
Kresten Krab Thorup 2014-08-11 12:36:58 +02:00
commit 813863c9c3

View file

@ -403,6 +403,7 @@ main_loop(State = #state{ next=Next }) ->
%% and we have finished the incremental merge at this level
State2 = reply_step_ok(State),
erlang:demonitor(MRef, [flush]),
main_loop(State2#state{ step_next_ref=undefined });
?CALL(From, close) ->