aboutsummaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
Diffstat (limited to 'src/base')
-rw-r--r--src/base/platform/unix/EventLoop.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/base/platform/unix/EventLoop.cpp b/src/base/platform/unix/EventLoop.cpp
index 7c475697..6e8dc16e 100644
--- a/src/base/platform/unix/EventLoop.cpp
+++ b/src/base/platform/unix/EventLoop.cpp
@@ -34,15 +34,15 @@ int UnixEventLoop::Run() {
while (!exit_code_) {
int poll_timeout = -1;
- while (CheckPoll()) {
+ if (CheckPoll()) {
continue;
}
- while (CheckTimer()) {
+ if (CheckTimer()) {
continue;
}
- while (CheckActionPipe()) {
+ if (CheckActionPipe()) {
continue;
}