+ Don't allow processing of the Timer changed queue while the world is loading or saving.

* Removes the risk of inconsistency [warnings] generated by timers that tick with handlers that modify World.Items and World.Mobiles during I/O.

+ Update description of Core.TickCount.
This commit is contained in:
Vorspire 2015-08-23 01:40:09 +01:00
parent 5d50a5a37c
commit 887ca5d341
3 changed files with 22 additions and 20 deletions

View file

@ -313,6 +313,12 @@ namespace Server
while ( !Core.Closing )
{
if (World.Loading || World.Saving)
{
m_Signal.WaitOne(1, false);
continue;
}
ProcessChanged();
loaded = false;