diff options
author | Dan Williams <dan@ioncontrol.co> | 2025-03-31 08:21:51 -0500 |
---|---|---|
committer | Dan Williams <dan@ioncontrol.co> | 2025-05-08 15:40:25 -0500 |
commit | 0f97d90490dbacad3a40a372b3c6ac626e7c6082 (patch) | |
tree | 7cff5a6003db2a21c4f1eedb748f63ef872ef976 /include/ModemManager-errors.h | |
parent | 0cb1c1f157e2a4d2f75aeecc9874246359d0ca12 (diff) |
broadband-modem: remove invalid idle handler during dispose
base_modem_invalid_idle() needs to keep a reference to the
MMBaseModem until its done. But if the modem is cancelled during
removal right before we're trying to forget about it, keeping
that reference can prevent everything getting cleaned up by
MMBaseModem's dispose() until after the mainloop has run again
and all our removal operations are supposedly complete.
MMDevice uses an explicit dispose() trigger that mitigates
most of this (and requires it for other reasons, like breaking
reference cycles between the modem and it's various child
classes) but it's somewhat error-prone to keep the modem
around if we don't really need to.
Signed-off-by: Dan Williams <dan@ioncontrol.co>
Diffstat (limited to 'include/ModemManager-errors.h')
0 files changed, 0 insertions, 0 deletions