Peer::handleWrite grabs the wrong lock.

This commit is contained in:
JoelKatz
2013-01-15 16:21:53 -08:00
parent d3069f7fbc
commit 940cc9059c

View File

@@ -44,7 +44,7 @@ void Peer::handleWrite(const boost::system::error_code& error, size_t bytes_tran
// std::cerr << "Peer::handleWrite bytes: "<< bytes_transferred << std::endl;
#endif
boost::recursive_mutex::scoped_lock sl(theApp->getMasterLock());
boost::recursive_mutex::scoped_lock sl(ioMutex);
mSendingPacket.reset();