diff --git a/src/client.cpp b/src/client.cpp index 7f6d050..f74b29e 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -686,6 +686,8 @@ void ContextImpl::close() conns.clear(); chans.clear(); + // breaks a ref. loop between Connection and ClientContextImpl + nameServers.clear(); // internal_self.use_count() may be >1 if // we are orphaning some Operations