diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2019-12-31 15:40:13 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2019-12-31 15:40:13 +0100 |
commit | 21e5b1d68336ec5a19f71e36c035e19d29623ca2 (patch) | |
tree | 6f49fc0e4df68fa03aec0c60f3b86be8dc5af2c3 /cli/mmcli-modem-location.c | |
parent | 7a398214f9a4d85399d082634d08b2f47a8b7778 (diff) |
port-serial: un-schedule flash operation as soon as it's cancelled
When a flash operation is started, it is always scheduled in an idle.
If this operation is cancelled, we should right away un-schedule it,
otherwise we may end up calling flash_do() with the GTask in the
private info already gone.
See https://gitlab.freedesktop.org/mobile-broadband/ModemManager/merge_requests/178#note_330017
Diffstat (limited to 'cli/mmcli-modem-location.c')
0 files changed, 0 insertions, 0 deletions