Make event loops able to be run in another thread

This commit is contained in:
KimLS committed 2019-03-29 18:39:17 -07:00
1 parent 566f743a88
commit 21a39db1c6
16 files changed
+82 -29

No files matched your search

+1 -1
View File
@@ -588,7 +588,7 @@ int main(int argc, char** argv) {
while (RunLoops) {
bool previous_loaded = is_zone_loaded && numclients > 0;
EQ::EventLoop::Get().Process();
EQ::EventLoop::GetDefault().Process();
bool current_loaded = is_zone_loaded && numclients > 0;
if (previous_loaded && !current_loaded) {