aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-05-23 15:43:52 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-05-26 13:14:52 +0000
commit0a99cca2777d858250c9edeb6931a9edb1b75676 (patch)
tree24d1f4bb37f471b2ec71d2b835dd21780dd53fd4
parent8a70dbe34b9c16844f465427cb6a19665aab3364 (diff)
iface-modem: ignore cancellation during sync()
There is no input cancellable in the method, so the GTask will never get cancelled from the outside.
-rw-r--r--src/mm-iface-modem.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mm-iface-modem.c b/src/mm-iface-modem.c
index 3c489505..b3604b8a 100644
--- a/src/mm-iface-modem.c
+++ b/src/mm-iface-modem.c
@@ -4276,12 +4276,6 @@ interface_syncing_step (GTask *task)
MMIfaceModem *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);