Re: ModemManager: MMCallbackInfo scheduled twice when device removed

2011-06-06 Thread Aleksander Morgado
> All the stuff in the protect-callbacks branch looks good, please push. > I couldn't trigger crashes on a number of devices just pulling them out > in the middle of a tight loop hammering the modem for info. Good work. > This has been pushed to both git master and MM_05. Cheers, -- Aleksand

Re: ModemManager: MMCallbackInfo scheduled twice when device removed

2011-06-03 Thread Dan Williams
On Tue, 2011-05-17 at 09:57 +0200, Aleksander Morgado wrote: > Hi Dan, > > > > > > > > > Each MMCallbackInfo holds a weak reference to the MMModem to which the > > > > AT command was sent. When the MMModem is destroyed, > > > > mm-callback-info.c::modem_destroyed_cb() gets called and the modem >

Re: ModemManager: MMCallbackInfo scheduled twice when device removed

2011-05-17 Thread Aleksander Morgado
Hi Dan, > > > > > > Each MMCallbackInfo holds a weak reference to the MMModem to which the > > > AT command was sent. When the MMModem is destroyed, > > > mm-callback-info.c::modem_destroyed_cb() gets called and the modem > > > pointer in the callback info is reset to NULL, to avoid having a poin

Re: ModemManager: MMCallbackInfo scheduled twice when device removed

2011-05-12 Thread Aleksander Morgado
> > > > Each MMCallbackInfo holds a weak reference to the MMModem to which the > > AT command was sent. When the MMModem is destroyed, > > mm-callback-info.c::modem_destroyed_cb() gets called and the modem > > pointer in the callback info is reset to NULL, to avoid having a pointer > > to an alre

Re: ModemManager: MMCallbackInfo scheduled twice when device removed

2011-05-11 Thread Dan Williams
On Wed, 2011-05-11 at 16:20 +0200, Aleksander Morgado wrote: > Hi all, > > Each MMCallbackInfo holds a weak reference to the MMModem to which the > AT command was sent. When the MMModem is destroyed, > mm-callback-info.c::modem_destroyed_cb() gets called and the modem > pointer in the callback inf