commit | 1d41685f487a7d84846826d99fc99e3461ffce37 | [log] [tgz] |
---|---|---|
author | Aleksander Morgado <aleksander@aleksander.es> | Mon Feb 13 14:03:20 2017 |
committer | Aleksander Morgado <aleksander@aleksander.es> | Mon Feb 13 19:31:20 2017 |
tree | b4206b1cdcdf6d80f4f11babe2d81761fae1c1c0 | |
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