diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-05-23 21:46:34 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-05-26 13:14:52 +0000 |
commit | 6c1d4808b1b331dd39039a12b157a3b544bcbec7 (patch) | |
tree | 1ff905559b5485fb49ce6b09ed85ac802c71fc1a /src/mm-base-bearer.c | |
parent | e096b50208cfceb0c3e7156db344f6b19485f13a (diff) |
base-bearer: ignore cancellation during sync()
There is no input cancellable in the method, so the GTask will never
get cancelled from the outside.
Diffstat (limited to 'src/mm-base-bearer.c')
-rw-r--r-- | src/mm-base-bearer.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mm-base-bearer.c b/src/mm-base-bearer.c index 9cf478e8..1a4f686f 100644 --- a/src/mm-base-bearer.c +++ b/src/mm-base-bearer.c @@ -1550,12 +1550,6 @@ interface_syncing_step (GTask *task) MMBaseBearer *self; SyncingContext *ctx; - /* Don't run new steps if we're cancelled */ - if (g_task_return_error_if_cancelled (task)) { - g_object_unref (task); - return; - } - self = g_task_get_source_object (task); ctx = g_task_get_task_data (task); |