add extra failsafe in RequestManager when shutting down
This commit is contained in:
parent
76699d2f7e
commit
f9d9951237
@ -17,6 +17,8 @@ namespace http
|
||||
|
||||
void RequestManager::Shutdown()
|
||||
{
|
||||
if (rt_shutting_down)
|
||||
return;
|
||||
{
|
||||
std::lock_guard<std::mutex> g(rt_mutex);
|
||||
rt_shutting_down = true;
|
||||
|
Reference in New Issue
Block a user