fix: don't call non-existing function
This commit is contained in:
parent
145ed2e632
commit
886ed55374
|
@ -234,7 +234,7 @@ on_stop(ResourceId, State) ->
|
|||
undefined ->
|
||||
ok;
|
||||
TopicToHandlerIndex ->
|
||||
emqx_topic_index:delete(TopicToHandlerIndex)
|
||||
ets:delete(TopicToHandlerIndex)
|
||||
end,
|
||||
Allocated = emqx_resource:get_allocated_resources(ResourceId),
|
||||
ok = stop_helper(Allocated).
|
||||
|
|
Loading…
Reference in New Issue