Fixes the event loop (#48)

This commit is contained in:
Kamron Batman 2019-08-13 17:15:53 -07:00 committed by GitHub
parent 57bec96827
commit ad73574ce5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -478,8 +478,7 @@ namespace Server
Task.WaitAll(
Task.Run(() => Mobile.ProcessDeltaQueue()),
Task.Run(() => Item.ProcessDeltaQueue()),
Task.Run(() => Timer.Slice()),
Task.Run(() => MessagePump.DoWork())
Task.Run(() => { Timer.Slice(); MessagePump.DoWork(); })
);
NetState.ProcessDisposedQueue();