quiet spurious warning

This commit is contained in:
Michael Davidsaver
2017-06-27 12:59:13 +02:00
parent 4003357df6
commit 63a7649693

View File

@@ -342,8 +342,8 @@ public:
{
startRequest(PURE_DESTROY_REQUEST);
m_channel->checkAndGetTransport()->enqueueSendRequest(internal_from_this<BaseRequestImpl>());
} catch (std::tr1::bad_weak_ptr& e) {
// noop (do not complain if fails)
} catch (std::runtime_error& e) {
// assume from checkAndGetTransport() due to wrong channel state
} catch (std::exception& e) {
LOG(logLevelWarn, "Ignore exception during BaseRequestImpl::destroy: %s", e.what());
}