mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-18 11:48:21 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user