diff options
author | Phaedrus Leeds <mwleeds@protonmail.com> | 2021-10-26 17:37:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-26 17:37:17 -0700 |
commit | f4d94d81a8f8cb63a9b96bd385ceeca11c13c376 (patch) | |
tree | 084b1d60616ff1acc63b9a54b4fd621a2a21d347 | |
parent | d870def5aaa60a988a74c818fa142c70529218e2 (diff) | |
parent | 8ff02c0e5b0c2105e1b26a1a00ec264f6482ce3e (diff) | |
download | flatpak-f4d94d81a8f8cb63a9b96bd385ceeca11c13c376.tar.gz |
Merge pull request #4518 from pwithnall/http-wakeup
flatpak-utils-http: Ensure to wake up the main context on error
-rw-r--r-- | common/flatpak-utils-http.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/flatpak-utils-http.c b/common/flatpak-utils-http.c index 3d144051..2ba18d5c 100644 --- a/common/flatpak-utils-http.c +++ b/common/flatpak-utils-http.c @@ -503,7 +503,10 @@ load_uri_callback (GObject *source_object, if (!glnx_open_tmpfile_linkable_at (data->out_tmpfile_parent_dfd, ".", O_WRONLY, data->out_tmpfile, &data->error)) - return; + { + g_main_context_wakeup (data->context); + return; + } g_assert (data->out == NULL); |