[PATCH] Have pending call keep a ref to its connection (fixes the NetworkManager crash)

John (J5) Palmieri johnp at redhat.com
Thu Jul 13 18:51:17 PDT 2006


Here you go with your suggestion implemented.

On Thu, 2006-07-13 at 18:03 -0400, Havoc Pennington wrote:
> 
> Havoc Pennington wrote:
> > 
> > The unlocking and updating dispatch status can be outside the loop I 
> > think, in fact it should be a lot safer and more efficient that way.
> >
> 
> Better yet, if this function is only called right before queuing the 
> disconnected message, there will already be an update dispatch status 
> right after queueing the disconnected method.
> 
> Havoc
> 
-- 
John (J5) Palmieri <johnp at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-fix-pending-call-crash-attempt3.patch
Type: text/x-patch
Size: 7044 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20060713/a6df125c/dbus-fix-pending-call-crash-attempt3.bin


More information about the dbus mailing list