aboutsummaryrefslogtreecommitdiffstats
path: root/src/event
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-15 00:46:56 +0100
committerMax Kellermann <max@duempel.org>2014-12-15 00:46:56 +0100
commitadfc5db3d2bf0d7df972a687b1510db159b9137c (patch)
treed0b46d10fa1e655211f92f6a5f5f581876a9a0db /src/event
parent3f32a6b6071c61543f8a5179fdd6900e1362cbd6 (diff)
parenta48704925d6c3e5c01057192403e55f3663b315c (diff)
downloadmpd-adfc5db3d2bf0d7df972a687b1510db159b9137c.tar.gz
mpd-adfc5db3d2bf0d7df972a687b1510db159b9137c.tar.xz
mpd-adfc5db3d2bf0d7df972a687b1510db159b9137c.zip
Merge branch 'v0.19.x'
Diffstat (limited to 'src/event')
-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 */