Skip to content

Commit d7c06af

Browse files
author
Jonathan Knight
committed
Enh 37496193 - [37496162->24.09.2] General refactoring and hardening of the gRPC APIs
(merge ce/main -> ce/24.09 113661) [git-p4: depot-paths = "//dev/coherence-ce/release/coherence-ce-v24.09/": change = 113662]
1 parent 3fafdc0 commit d7c06af

File tree

1 file changed

+6
-3
lines changed
  • prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/net/extend/proxy

1 file changed

+6
-3
lines changed

prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/net/extend/proxy/NamedCacheProxy.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
/*
3-
* Copyright (c) 2000, 2024, Oracle and/or its affiliates.
3+
* Copyright (c) 2000, 2025, Oracle and/or its affiliates.
44
*
55
* Licensed under the Universal Permissive License v 1.0 as shown at
66
* https://oss.oracle.com/licenses/upl.
@@ -950,8 +950,11 @@ public void unregisterChannel(com.tangosol.net.messaging.Channel channel)
950950

951951
MapListenerProxy proxyListener = (MapListenerProxy) channel.getAttribute(ATTR_LISTENER);
952952
_assert(proxyListener != null);
953-
954-
cache.removeMapListener(this);
953+
954+
if (cache.isActive())
955+
{
956+
cache.removeMapListener(this);
957+
}
955958
Connection conn = channel.getConnection();
956959
if (conn instanceof com.tangosol.coherence.component.net.extend.Connection)
957960
{

0 commit comments

Comments
 (0)