Grr! These are way too easy to do by mistake. The following code does nothing useful:

ScopedLock(theApp->getMasterLock());
Must be:
	ScopedLock sl(theApp->getMasterLock());
This commit is contained in:
JoelKatz
2013-04-12 18:36:31 -07:00
parent 3c3f9d3fea
commit e5fdc99dd0

View File

@@ -600,7 +600,7 @@ void NetworkOPs::checkState(const boost::system::error_code& result)
}
{
ScopedLock(theApp->getMasterLock());
ScopedLock sl(theApp->getMasterLock());
std::vector<Peer::pointer> peerList = theApp->getConnectionPool().getPeerVector();