aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/IdleMonitor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/event/IdleMonitor.cxx')
-rw-r--r--src/event/IdleMonitor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event/IdleMonitor.cxx b/src/event/IdleMonitor.cxx
index e791559a1..dd8d64f94 100644
--- a/src/event/IdleMonitor.cxx
+++ b/src/event/IdleMonitor.cxx
@@ -38,7 +38,7 @@ IdleMonitor::Cancel()
void
IdleMonitor::Schedule()
{
- assert(loop.IsInside());
+ assert(loop.IsInsideOrVirgin());
if (IsActive())
/* already scheduled */