Skip to content

Commit

Permalink
Debug|libcore: Stopping an event loop
Browse files Browse the repository at this point in the history
No submitted events should be lost when an event loop is stopped.
  • Loading branch information
skyjake committed Sep 1, 2019
1 parent 11cb885 commit f632e22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doomsday/libs/core/src/core/eventloop.cpp
Expand Up @@ -110,6 +110,7 @@ int EventLoop::exec(const std::function<void ()> &postExec)
LOG_WARNING("Event loop stopped: %s") << er.asText();
return 0;
}
DE_ASSERT(d->queue->isEmpty());
}

void EventLoop::quit(int exitCode)
Expand Down

0 comments on commit f632e22

Please sign in to comment.