From a54ad3a103114b7821bbba4de909cc0735f6bd3e Mon Sep 17 00:00:00 2001 From: "Jeremy D. Miller" Date: Thu, 21 Nov 2024 07:56:13 -0600 Subject: [PATCH] listening agent potentially uses any listening rules. Closes GH-1138 --- src/Wolverine/Transports/ListeningAgent.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Wolverine/Transports/ListeningAgent.cs b/src/Wolverine/Transports/ListeningAgent.cs index d2617702..5065abb4 100644 --- a/src/Wolverine/Transports/ListeningAgent.cs +++ b/src/Wolverine/Transports/ListeningAgent.cs @@ -165,8 +165,7 @@ public async ValueTask StartAsync() } _receiver ??= Endpoint.MaybeWrapReceiver(await buildReceiverAsync()); - - + if (Endpoint.ListenerCount > 1) { var listeners = new List(Endpoint.ListenerCount);