fix: don't call non-existing function

This commit is contained in:
Kjell Winblad 2023-12-14 15:55:38 +01:00 committed by Thales Macedo Garitezi
parent 145ed2e632
commit 886ed55374
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ on_stop(ResourceId, State) ->
undefined -> undefined ->
ok; ok;
TopicToHandlerIndex -> TopicToHandlerIndex ->
emqx_topic_index:delete(TopicToHandlerIndex) ets:delete(TopicToHandlerIndex)
end, end,
Allocated = emqx_resource:get_allocated_resources(ResourceId), Allocated = emqx_resource:get_allocated_resources(ResourceId),
ok = stop_helper(Allocated). ok = stop_helper(Allocated).