fix(emqx_machine_signal_handler): ignore unknown info
This commit is contained in:
parent
bee8f01ee8
commit
85f8ba10ce
|
@ -42,10 +42,12 @@ handle_event(Event, State) ->
|
||||||
%% delegate other events back to erl_signal_handler
|
%% delegate other events back to erl_signal_handler
|
||||||
%% erl_signal_handler does not make use of the State
|
%% erl_signal_handler does not make use of the State
|
||||||
%% so we can pass whatever from here
|
%% so we can pass whatever from here
|
||||||
erl_signal_handler:handle_event(Event, State),
|
_ = erl_signal_handler:handle_event(Event, State),
|
||||||
{ok, State}.
|
{ok, State}.
|
||||||
|
|
||||||
handle_info(stop, State) ->
|
handle_info(stop, State) ->
|
||||||
|
{ok, State};
|
||||||
|
handle_info(_Other, State) ->
|
||||||
{ok, State}.
|
{ok, State}.
|
||||||
|
|
||||||
handle_call(_Request, State) ->
|
handle_call(_Request, State) ->
|
||||||
|
|
Loading…
Reference in New Issue