refactor: call emqx_telemetry_config:on_server_stop
This commit is contained in:
parent
17f6c58f7b
commit
256e92f4e9
|
@ -196,7 +196,7 @@ handle_info(Info, State) ->
|
|||
{noreply, State}.
|
||||
|
||||
terminate(_Reason, _State) ->
|
||||
emqx_conf:remove_handler([telemetry]).
|
||||
emqx_telemetry_config:on_server_stop().
|
||||
|
||||
code_change(_OldVsn, State, _Extra) ->
|
||||
{ok, State}.
|
||||
|
|
Loading…
Reference in New Issue