diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2017-02-13 15:03:20 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-02-13 20:31:20 +0100 |
commit | 1d41685f487a7d84846826d99fc99e3461ffce37 (patch) | |
tree | b4206b1cdcdf6d80f4f11babe2d81761fae1c1c0 /plugins/cinterion/tests/test-modem-helpers-cinterion.c | |
parent | 421713208bc3212d153906ad231a2e4b6b5ce6de (diff) |
device: disconnect signal handlers when modem object removed
Don't rely on the automatic disconnection of the signal as the last
reference of the modem object may outlive the device object.
Also, setup a common clear_modem() function to dispose the internal
reference of the modem object, which will take care of the signal
disconnection when required.
https://lists.freedesktop.org/archives/modemmanager-devel/2017-February/003907.html
Diffstat (limited to 'plugins/cinterion/tests/test-modem-helpers-cinterion.c')
0 files changed, 0 insertions, 0 deletions