pull: Exit mainloop immediately if we encounter an error

Otherwise we'll just hang.
This commit is contained in:
Colin Walters 2012-08-22 19:43:10 -04:00
parent f115a8943a
commit b36b19eaf8
1 changed files with 1 additions and 0 deletions

View File

@ -201,6 +201,7 @@ check_outstanding_requests_handle_error (OtPullData *pull_data,
{
pull_data->caught_error = TRUE;
g_propagate_error (pull_data->async_error, error);
g_main_loop_quit (pull_data->loop);
}
else
{