pull: Exit mainloop immediately if we encounter an error
Otherwise we'll just hang.
This commit is contained in:
parent
f115a8943a
commit
b36b19eaf8
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue