Decoupling eventloop singleton from the event loop (for now not complete but later we will)

This commit is contained in:
KimLS
2019-06-24 00:15:02 -07:00
parent 5c7ab59fd3
commit 0e0027ca20
14 changed files with 82 additions and 61 deletions
+1 -1
View File
@@ -586,7 +586,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) {