refactor: call emqx_telemetry_config:on_server_stop

This commit is contained in:
Zaiming (Stone) Shi 2023-05-26 15:25:57 +02:00
parent 17f6c58f7b
commit 256e92f4e9
1 changed files with 1 additions and 1 deletions

View File

@ -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}.