pull: Exit mainloop immediately if we encounter an error
Otherwise we'll just hang.
This commit is contained in:
1 parent
f115a8943a
commit
b36b19eaf8
1 file changed
+1
@@ -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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user