Merge pull request #6937 from lafirest/fix/trap_exit
fix(emqx_slow_subs): trap the exit message
This commit is contained in:
commit
674752dcb3
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue