aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/event/Loop.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/event/Loop.cxx b/src/event/Loop.cxx
index 4ded68ff4..1bac7c551 100644
--- a/src/event/Loop.cxx
+++ b/src/event/Loop.cxx
@@ -179,9 +179,10 @@ EventLoop::Run()
mutex.lock();
HandleDeferred();
busy = false;
+ const bool _again = again;
mutex.unlock();
- if (again)
+ if (_again)
/* re-evaluate timers because one of the
IdleMonitors may have added a new
timeout */