From 38ba7e695aa99a65ac38b9446a6e6cd9c48ac8a3 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Fri, 21 Feb 2014 13:28:23 -0800 Subject: [PATCH] Don't hold the master lock --- src/ripple_overlay/impl/PeerImp.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ripple_overlay/impl/PeerImp.h b/src/ripple_overlay/impl/PeerImp.h index 666a233c9..5f00b23c0 100644 --- a/src/ripple_overlay/impl/PeerImp.h +++ b/src/ripple_overlay/impl/PeerImp.h @@ -825,9 +825,6 @@ private: getApp().getJobQueue ().getLoadEventAP (jtPEER, "Peer::read")); { - Application::ScopedLockType lock (getApp ().getMasterLock (), - __FILE__, __LINE__); - // An mtHELLO message must be the first message receiced by a peer // and it must be received *exactly* once during a connection; any // other scenario constitutes a protocol violation.