fix memory leak
This commit is contained in:
parent
e58d2577a0
commit
b97de217ed
1 changed files with 1 additions and 0 deletions
|
@ -403,6 +403,7 @@ main_loop(State = #state{ next=Next }) ->
|
||||||
%% and we have finished the incremental merge at this level
|
%% and we have finished the incremental merge at this level
|
||||||
|
|
||||||
State2 = reply_step_ok(State),
|
State2 = reply_step_ok(State),
|
||||||
|
erlang:demonitor(MRef, [flush]),
|
||||||
main_loop(State2#state{ step_next_ref=undefined });
|
main_loop(State2#state{ step_next_ref=undefined });
|
||||||
|
|
||||||
?CALL(From, close) ->
|
?CALL(From, close) ->
|
||||||
|
|
Loading…
Reference in a new issue