Skip to content

Commit 0f16006

Browse files
author
kasemir
committed
PVAServer: Skip redundant unregisterSubscription
removeClient already includes unregisterSubscription
1 parent c875b26 commit 0f16006

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

core/pva/src/main/java/org/epics/pva/server/PVAServer.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,10 +261,7 @@ void register(final ServerTCPHandler tcp_connection)
261261
void shutdownConnection(final ServerTCPHandler tcp_connection)
262262
{
263263
for (ServerPV pv : pv_by_name.values())
264-
{
265264
pv.removeClient(tcp_connection, -1);
266-
pv.unregisterSubscription(tcp_connection, -1);
267-
}
268265

269266
// If this is still a known handler, close it, but don't wait
270267
if (tcp_handlers.remove(tcp_connection))

0 commit comments

Comments
 (0)