mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 14:05:51 +00:00
Peer::handleWrite grabs the wrong lock.
This commit is contained in:
@@ -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;
|
// std::cerr << "Peer::handleWrite bytes: "<< bytes_transferred << std::endl;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
boost::recursive_mutex::scoped_lock sl(theApp->getMasterLock());
|
boost::recursive_mutex::scoped_lock sl(ioMutex);
|
||||||
|
|
||||||
mSendingPacket.reset();
|
mSendingPacket.reset();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user