fully fix AuthorizationRegistry race

This commit is contained in:
Michael Davidsaver
2019-10-31 07:39:42 -07:00
parent e27de1bd28
commit 135bf7265c

View File

@ -291,8 +291,6 @@ void AuthorizationRegistry::run(const std::tr1::shared_ptr<PeerInfo>& peer)
{
{
Guard G(mutex);
if(busy)
throw std::runtime_error("AuthorizationRegistry busy");
busy++;
}
for(map_t::iterator it(map.begin()), end(map.end()); it!=end; ++it)