From 9b6dbe09ad217944d2cbf1f754e0b3407567d4c6 Mon Sep 17 00:00:00 2001 From: Tomasz Adamski Date: Fri, 1 Mar 2024 14:57:05 +0100 Subject: [PATCH] [WFDISC-54] Do not cancel DiscoveryAttempt connection creation if other node has provided the result already --- src/main/java/org/wildfly/discovery/Discovery.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/org/wildfly/discovery/Discovery.java b/src/main/java/org/wildfly/discovery/Discovery.java index a6e4898..43612e4 100644 --- a/src/main/java/org/wildfly/discovery/Discovery.java +++ b/src/main/java/org/wildfly/discovery/Discovery.java @@ -292,9 +292,6 @@ public boolean isFinished() { } public void close() { - if (! isFinished()) { - request.cancel(); - } } @NotNull