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 2014-04-29 09:00:21 -04:00
parent 006e8f0073
commit 626fc8519b
1 changed files with 1 additions and 1 deletions

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");