@EventListener(value = BatchNamespacePluginDeletedEvent.class)
    public void onPluginDeleted(final BatchNamespacePluginDeletedEvent event) {
        deleteSelector(selectorMapper.findByPluginIdsAndNamespaceId(event.getDeletedPluginIds(), event.getNamespaceId()), event.getPlugins());
    }
the plugin delete, synchronously delete selectors.

@param event event
shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/SelectorServiceImpl.java