From 7021803233c7b4e46474669af75ad61b0952142d Mon Sep 17 00:00:00 2001 From: Lo1nt Date: Mon, 8 Jan 2024 19:54:33 +0800 Subject: [PATCH] cr --- .../com/alipay/sofa/rpc/client/AllConnectConnectionHolder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-impl/client/src/main/java/com/alipay/sofa/rpc/client/AllConnectConnectionHolder.java b/core-impl/client/src/main/java/com/alipay/sofa/rpc/client/AllConnectConnectionHolder.java index 856ded84d..21412fc8a 100644 --- a/core-impl/client/src/main/java/com/alipay/sofa/rpc/client/AllConnectConnectionHolder.java +++ b/core-impl/client/src/main/java/com/alipay/sofa/rpc/client/AllConnectConnectionHolder.java @@ -554,8 +554,8 @@ public ClientTransport getAvailableClientTransport(ProviderInfo providerInfo) { transport = uninitializedConnections.get(providerInfo); if (transport != null) { // 未初始化则初始化 - providerLock.lock(); try { + providerLock.lock(); transport = uninitializedConnections.get(providerInfo); if (transport != null) { initClientTransport(consumerConfig.getInterfaceId(), providerInfo, transport);