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 ->
|
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).
|
||||||
|
|
Loading…
Reference in New Issue