diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-05-23 15:44:22 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-05-26 13:14:52 +0000 |
commit | e716a306b1a6cc654523f6b911f15213d85acc85 (patch) | |
tree | 3b9d0f84a6628f166aa2d12d8f74871a7bed596c | |
parent | e46e36b36ef798d4fa2669f211ab6213bf35c672 (diff) |
iface-modem-3gpp: 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-3gpp.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mm-iface-modem-3gpp.c b/src/mm-iface-modem-3gpp.c index a230d8b7..3629a825 100644 --- a/src/mm-iface-modem-3gpp.c +++ b/src/mm-iface-modem-3gpp.c @@ -2600,12 +2600,6 @@ interface_syncing_step (GTask *task) MMIfaceModem3gpp *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); |