From c5c6510a1338cfb5e5524884a6966a298a286f12 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Mon, 19 Jun 2017 14:28:32 +0200 Subject: [PATCH] avoid log spam --- src/remoteClient/clientContextImpl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/remoteClient/clientContextImpl.cpp b/src/remoteClient/clientContextImpl.cpp index 953785b..226cce1 100644 --- a/src/remoteClient/clientContextImpl.cpp +++ b/src/remoteClient/clientContextImpl.cpp @@ -338,8 +338,9 @@ public: { startRequest(PURE_DESTROY_REQUEST); m_channel->checkAndGetTransport()->enqueueSendRequest(external_from_this()); - } catch (std::exception& e) { + } catch (std::tr1::bad_weak_ptr& e) { // noop (do not complain if fails) + } catch (std::exception& e) { LOG(logLevelWarn, "Ignore exception during BaseRequestImpl::destroy: %s", e.what()); }