fix(emqx_machine_signal_handler): ignore unknown info

This commit is contained in:
Zaiming Shi 2021-08-06 08:21:06 +02:00
parent bee8f01ee8
commit 85f8ba10ce
1 changed files with 3 additions and 1 deletions

View File

@ -42,10 +42,12 @@ handle_event(Event, State) ->
%% delegate other events back to erl_signal_handler
%% erl_signal_handler does not make use of the State
%% so we can pass whatever from here
erl_signal_handler:handle_event(Event, State),
_ = erl_signal_handler:handle_event(Event, State),
{ok, State}.
handle_info(stop, State) ->
{ok, State};
handle_info(_Other, State) ->
{ok, State}.
handle_call(_Request, State) ->