aboutsummaryrefslogtreecommitdiffstats
path: root/alljoyn_core/router/UDPTransport.cc
diff options
context:
space:
mode:
Diffstat (limited to 'alljoyn_core/router/UDPTransport.cc')
-rw-r--r--alljoyn_core/router/UDPTransport.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/alljoyn_core/router/UDPTransport.cc b/alljoyn_core/router/UDPTransport.cc
index 34cfe6a..a17402f 100644
--- a/alljoyn_core/router/UDPTransport.cc
+++ b/alljoyn_core/router/UDPTransport.cc
@@ -2655,12 +2655,11 @@ class ArdpStream : public qcc::Stream {
* the reference to it.
*/
numSent = numBytes;
- m_transport->m_cbLock.Lock(MUTEX_CONTEXT);
++m_sendsOutstanding;
+ m_transport->m_cbLock.AssertOwnedByCurrentThread();
#if SENT_SANITY
m_sentSet.insert(buffer);
#endif
- m_transport->m_cbLock.Unlock(MUTEX_CONTEXT);
buffer = NULL;
done = true;
continue;