From 135bf7265c7f02315119b0c8fcbbc7349bc3df18 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Thu, 31 Oct 2019 07:39:42 -0700 Subject: [PATCH] fully fix AuthorizationRegistry race --- src/remote/security.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/remote/security.cpp b/src/remote/security.cpp index c3028d1..45946b5 100644 --- a/src/remote/security.cpp +++ b/src/remote/security.cpp @@ -291,8 +291,6 @@ void AuthorizationRegistry::run(const std::tr1::shared_ptr& 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)