Switch database mutex to recursive because we copy it everywhere

... and I have no idea if any of the calls are re-entrant. yay.
This commit is contained in:
brainiac
2026-04-04 17:34:59 -07:00
parent 7aa669d041
commit d1d5c5dd7a
8 changed files with 17 additions and 16 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ void TaskScheduler::ProcessWork()
m_data->cv.wait(lock,
[this]
{
return !m_data->running || m_data->tasks.empty();
return !m_data->running || !m_data->tasks.empty();
});
if (!m_data->running)