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