Skip to content

Commit 70933ed

Browse files
committed
Bug 38319591 - [38318967->15.1.1.0.0] ProxyServiceChannel leaks when handling gRPC error (merge 15.1.1.0 -> ce/15.1.1.0 @ 118436)
[git-p4: depot-paths = "//dev/coherence-ce/release/coherence-ce-v15.1.1.0/": change = 118439]
1 parent dabacbc commit 70933ed

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

prj/coherence-grpc-proxy-common/src/main/java/com/oracle/coherence/grpc/proxy/common/ProxyServiceChannel.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,11 @@
3131

3232
import com.tangosol.coherence.component.util.daemon.queueProcessor.service.peer.acceptor.GrpcAcceptor;
3333
import com.tangosol.coherence.component.util.daemon.queueProcessor.service.peer.acceptor.grpcAcceptor.GrpcConnection;
34-
import com.tangosol.internal.net.cluster.DefaultMemberIdentity;
3534
import com.tangosol.io.Serializer;
3635

3736
import com.tangosol.net.CacheFactory;
3837
import com.tangosol.net.Member;
3938

40-
import com.tangosol.net.MemberIdentity;
4139
import com.tangosol.net.messaging.Protocol;
4240
import com.tangosol.util.SafeClock;
4341
import com.tangosol.util.UUID;
@@ -196,6 +194,7 @@ public void onError(Throwable t)
196194
{
197195
ErrorsHelper.logIfNotCancelled(t);
198196
}
197+
f_service.removeCloseable(this);
199198
if (m_connection != null)
200199
{
201200
m_connection.close();

0 commit comments

Comments
 (0)