bug fixes during UT
This commit is contained in:
parent
88d867b256
commit
c92eba4a5e
|
@ -176,7 +176,7 @@ handle_call({unregister_mod, Type, Mod}, _From, State) ->
|
|||
reply(case lists:keyfind(Mod, 1, Mods) of
|
||||
false ->
|
||||
{error, not_found};
|
||||
true ->
|
||||
{Mod, _ModState, _Seq} ->
|
||||
ets:insert(?TAB, {tab_key(Type), lists:keydelete(Mod, 1, Mods)}), ok
|
||||
end, State);
|
||||
|
||||
|
|
Loading…
Reference in New Issue