From 7f5eb1de4d5373c89444aba0619b176cf458b269 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Wed, 4 Apr 2018 15:55:23 -0700 Subject: [PATCH] BlockingClientTCPTransportCodec collapse closedNotifyClients() into internalClose() --- src/remote/codec.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/remote/codec.cpp b/src/remote/codec.cpp index 793c480..6656d9f 100644 --- a/src/remote/codec.cpp +++ b/src/remote/codec.cpp @@ -1771,12 +1771,8 @@ void BlockingClientTCPTransportCodec::internalClose() { _context->getTimer()->cancel(tcb); // _owners cannot change when transport is closed - closedNotifyClients(); -} -/** - * Notifies clients about disconnect. - */ -void BlockingClientTCPTransportCodec::closedNotifyClients() { + + // Notifies clients about disconnect. // check if still acquired size_t refs = _owners.size();