fix(emqx_slow_subs): trap the exit message

This commit is contained in:
lafirest 2022-02-08 18:28:00 +08:00
parent 4a6ddce43c
commit 252514bfe0
1 changed files with 2 additions and 1 deletions

View File

@ -133,6 +133,7 @@ init_tab() ->
%%-------------------------------------------------------------------- %%--------------------------------------------------------------------
init([Conf]) -> init([Conf]) ->
erlang:process_flag(trap_exit, true),
expire_tick(Conf), expire_tick(Conf),
load(Conf), load(Conf),
{ok, #{config => Conf, {ok, #{config => Conf,