fix: Fixes world save timer issue (#981)
Fixes a major bug where a race condition could cause the timer wheel to have non-deterministic behavior and potentially never finish the save.
This commit is contained in:
parent
b6d155687e
commit
a5a5460291
1 changed files with 1 additions and 1 deletions
|
|
@ -431,7 +431,7 @@ namespace Server
|
|||
|
||||
m_DiskWriteHandle.Set();
|
||||
|
||||
Timer.StartTimer(FinishWorldSave);
|
||||
Core.LoopContext.Post(FinishWorldSave);
|
||||
}
|
||||
|
||||
private static void ProcessDecay()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue