fix memory leak

This commit is contained in:
eryx67 2014-08-11 16:17:17 +06:00
parent e58d2577a0
commit b97de217ed

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