Skip to content

Commit

Permalink
fully fix AuthorizationRegistry race
Browse files Browse the repository at this point in the history
  • Loading branch information
mdavidsaver committed Oct 31, 2019
1 parent e27de1b commit 135bf72
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/remote/security.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 135bf72

Please sign in to comment.