Merge pull request #6937 from lafirest/fix/trap_exit

fix(emqx_slow_subs): trap the exit message
This commit is contained in:
lafirest 2022-02-09 09:43:18 +08:00 committed by GitHub
commit 674752dcb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

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