add extra failsafe in RequestManager when shutting down

This commit is contained in:
jacob1
2021-06-27 18:43:04 -04:00
parent 76699d2f7e
commit f9d9951237

View File

@@ -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;