~armagetronad-dev/armagetronad/0.2.8-armagetronad-work

Viewing all changes in revision 1503.

  • Committer: Manuel Moos
  • Date: 2019-01-17 22:16:00 UTC
  • Revision ID: z-man@users.sf.net-20190117221600-15evtgmakhxsomul
call nLoginProcess::Finish in the foreground

nLoginProcess::Finish does not talk to the authority with blocking
requests, so it does not need to be run in a background thread.
(and if if would, ScheduleMayBlock would be the scheduler to use)

It does, however, in S_LoginResultCallback implemented in ePlayer.cpp,
send regular messages, which has to be done on the main thread.

Fixes https://github.com/ArmagetronAd/armagetronad/issues/1
(I hope, it's really just a best guess)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: