From 5477f08eaa288bf46614964e0051fdb07da7a19c Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 8 Feb 2022 14:04:50 +0000 Subject: [PATCH] dir: Pass cancellable through to remote EnsureRepo call Signed-off-by: Simon McVittie (cherry picked from commit 15c1d4f8cb8bf8266b454a9789fe589c645a5480) --- common/flatpak-dir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c index e2f05b2b..5f6be9d9 100644 --- a/common/flatpak-dir.c +++ b/common/flatpak-dir.c @@ -3943,7 +3943,7 @@ _flatpak_dir_ensure_repo (FlatpakDir *self, if (!flatpak_dir_system_helper_call_ensure_repo (self, FLATPAK_HELPER_ENSURE_REPO_FLAGS_NONE, installation ? installation : "", - NULL, &local_error)) + cancellable, &local_error)) { if (allow_empty) return TRUE; @@ -4087,7 +4087,7 @@ _flatpak_dir_ensure_repo (FlatpakDir *self, if (!flatpak_dir_system_helper_call_ensure_repo (self, FLATPAK_HELPER_ENSURE_REPO_FLAGS_NONE, installation ? installation : "", - NULL, &my_error)) + cancellable, &my_error)) { if (allow_empty) return TRUE;