+ 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:
parent
5d50a5a37c
commit
887ca5d341
3 changed files with 22 additions and 20 deletions
|
|
@ -313,6 +313,12 @@ namespace Server
|
|||
|
||||
while ( !Core.Closing )
|
||||
{
|
||||
if (World.Loading || World.Saving)
|
||||
{
|
||||
m_Signal.WaitOne(1, false);
|
||||
continue;
|
||||
}
|
||||
|
||||
ProcessChanged();
|
||||
|
||||
loaded = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue