diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/db/update/UpdateGlue.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/update/UpdateGlue.cxx b/src/db/update/UpdateGlue.cxx index 32e817ff1..41640e0ef 100644 --- a/src/db/update/UpdateGlue.cxx +++ b/src/db/update/UpdateGlue.cxx @@ -77,7 +77,7 @@ UpdateService::Task(void *ctx) void UpdateService::StartThread(UpdateQueueItem &&i) { - assert(GetEventLoop().IsInside()); + assert(GetEventLoop().IsInsideOrNull()); progress = UPDATE_PROGRESS_RUNNING; modified = false; @@ -104,7 +104,7 @@ UpdateService::GenerateId() unsigned UpdateService::Enqueue(const char *path, bool discard) { - assert(GetEventLoop().IsInside()); + assert(GetEventLoop().IsInsideOrNull()); if (progress != UPDATE_PROGRESS_IDLE) { const unsigned id = GenerateId(); |