From 626fc8519ba6251690c125de1f2a5ffc068550c3 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 29 Apr 2014 09:00:21 -0400 Subject: [PATCH] pull: Stay in mainloop if we're synchronously fetching URI The static deltas work will be doing some synchronous fetching even after refs are downloaded. --- src/libostree/ostree-repo-pull.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libostree/ostree-repo-pull.c b/src/libostree/ostree-repo-pull.c index 363c2fef..0d9eaf8b 100644 --- a/src/libostree/ostree-repo-pull.c +++ b/src/libostree/ostree-repo-pull.c @@ -203,7 +203,7 @@ check_outstanding_requests_handle_error (OtPullData *pull_data, g_main_loop_quit (pull_data->loop); break; case OSTREE_PULL_PHASE_FETCHING_OBJECTS: - if (current_idle) + if (current_idle && !pull_data->fetching_sync_uri) { g_debug ("pull: idle, exiting mainloop");