public void onDeleted(final Collection<SelectorDO> selectors, final List<PluginDO> plugins) {
        publish(new BatchSelectorDeletedEvent(selectors, SessionUtil.visitorName(), plugins));
        Map<String, String> pluginMap = ListUtil.toMap(plugins, PluginDO::getId, PluginDO::getName);
        List<SelectorData> selectorDataList = selectors.stream()
                .map(selectorDO -> {
                    String pluginName = pluginMap.get(selectorDO.getPluginId());
                    if (pluginName.equals(PluginEnum.DIVIDE.getName())) {
                        UpstreamCheckService.removeByKey(selectorDO.getId());
                    }
                    return SelectorDO.transFrom(selectorDO, pluginName, null);
                }).collect(Collectors.toList());
        publisher.publishEvent(new DataChangedEvent(ConfigGroupEnum.SELECTOR, DataEventTypeEnum.DELETE, selectorDataList));
    }
on plugin deleted.

@param selectors selectors
@param plugins   about plugin
shenyu-admin/src/main/java/org/apache/shenyu/admin/service/publish/SelectorEventPublisher.java