Merge pull request #1751 from terry-xiaoyu/emqx30_ut
bug fixes during UT
This commit is contained in:
commit
8925209f91
|
@ -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