diff --git a/libi2pd/Streaming.h b/libi2pd/Streaming.h index 025ceb63..93cf2a9f 100644 --- a/libi2pd/Streaming.h +++ b/libi2pd/Streaming.h @@ -336,7 +336,7 @@ namespace stream auto s = shared_from_this(); m_Service.post ([=](void) { - if (!m_ReceiveQueue.empty () || m_Status == eStreamStatusReset) + if (!s->m_ReceiveQueue.empty () || s->m_Status == eStreamStatusReset) s->HandleReceiveTimer (boost::asio::error::make_error_code (boost::asio::error::operation_aborted), buffer, handler, 0); else {