addOns/network/src/main/java/org/zaproxy/addon/network/ExtensionNetwork.java
/**
     * Removes the configurations of the started local servers.
     *
     * @param serverConfigs the server configurations to filter.
     */
Removes the configurations of the started local servers.
@param serverConfigs the server configurations to filter.
Removes the configurations of the started local servers . @param serverConfigs the server configurations to filter .
void removeStartedLocalServers(Set<LocalServerConfig> serverConfigs) {
        if (mainProxyServer.isStarted()) {
            serverConfigs.remove(mainProxyServer.getConfig());
        }
        localServers.values().stream()
                .filter(LocalServer::isStarted)
                .map(LocalServer::getConfig)
                .forEach(serverConfigs::remove);
    }
void removeStartedLocalServers ( Set < LocalServerConfig > serverConfigs ) { if ( mainProxyServer . isStarted ( ) ) { serverConfigs . remove ( mainProxyServer . getConfig ( ) ) ; } localServers . values ( ) . stream ( ) . filter ( LocalServer :: isStarted ) . map ( LocalServer :: getConfig ) . forEach ( serverConfigs :: remove ) ; }
Removes the configurations of the started local servers.
Removes the configurations of the started local servers .