commit | 6a05b4b0e7442f324031018596c0341432e5ac8f | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Fri Jul 18 17:23:00 2014 -0700 |
committer | Alex Afanasyev <alexander.afanasyev@ucla.edu> | Sat Jul 19 10:19:45 2014 -0700 |
tree | 65b74ec9a7c0067863c878d9177fa6d9c791e8ad | |
parent | 50b1390535b043016ef528605f8a220b94fb362d [diff] [blame] |
transport: Serialize socket write operations Change-Id: Ieccaf0ccbd6ee8bd08b1eee77d781edd47b2cbb2 Refs: #1769, #1775
diff --git a/src/transport/unix-transport.cpp b/src/transport/unix-transport.cpp index cbfada8..03ee8b6 100644 --- a/src/transport/unix-transport.cpp +++ b/src/transport/unix-transport.cpp
@@ -117,8 +117,9 @@ void UnixTransport::pause() { - BOOST_ASSERT(static_cast<bool>(m_impl)); - m_impl->pause(); + if (static_cast<bool>(m_impl)) { + m_impl->pause(); + } } void