mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 16:51:29 +00:00
[Crash] Fix reload concurrency crash when ran from Spire (#4733)
This commit is contained in:
parent
c3b8cc9744
commit
5b94e736b3
@ -4500,13 +4500,6 @@ void WorldServer::QueueReload(ServerReload::Request r)
|
||||
m_reload_mutex.lock();
|
||||
int64_t reload_at = r.reload_at_unix - std::time(nullptr);
|
||||
|
||||
// If the reload is set to happen now, process it immediately versus queuing it
|
||||
if (reload_at <= 0) {
|
||||
ProcessReload(r);
|
||||
m_reload_mutex.unlock();
|
||||
return;
|
||||
}
|
||||
|
||||
LogInfo(
|
||||
"Queuing reload for [{}] ({}) to reload in [{}]",
|
||||
ServerReload::GetName(r.type),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user