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.
This commit is contained in:
Colin Walters committed 2014-04-29 10:59:57 -04:00
1 parent 006e8f0073
commit 626fc8519b
1 file changed
+1 -1
+1 -1
View File
@@ -203,7 +203,7 @@ check_outstanding_requests_handle_error (OtPullData *pull_data,
g_main_loop_quit (pull_data->loop); g_main_loop_quit (pull_data->loop);
break; break;
case OSTREE_PULL_PHASE_FETCHING_OBJECTS: case OSTREE_PULL_PHASE_FETCHING_OBJECTS:
if (current_idle) if (current_idle && !pull_data->fetching_sync_uri)
{ {
g_debug ("pull: idle, exiting mainloop"); g_debug ("pull: idle, exiting mainloop");