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:
Kamron Batman 2022-03-29 15:08:23 -07:00 committed by GitHub
parent b6d155687e
commit a5a5460291
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -431,7 +431,7 @@ namespace Server
m_DiskWriteHandle.Set();
Timer.StartTimer(FinishWorldSave);
Core.LoopContext.Post(FinishWorldSave);
}
private static void ProcessDecay()