mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-25 21:45:52 +00:00
Don't crash on shutdown.
This commit is contained in:
@@ -305,7 +305,7 @@ void JobQueue::threadEntry()
|
||||
// }
|
||||
}
|
||||
|
||||
if (mShuttingDown)
|
||||
if (mJobSet.empty())
|
||||
break;
|
||||
|
||||
JobType type;
|
||||
|
||||
Reference in New Issue
Block a user