thiago at kde.org
Mon Mar 15 14:59:47 PDT 2010
Em Segunda-feira 15. Março 2010, às 22.38.07, Cem Eliguzel escreveu:
> I have a disconnected dbus connection problem. When it happens the
> application using it exits. I have noticed that exit_on_disconnect is set
> to TRUE when a connection object is created. I have two questions
> regarding this:
> 1. What's the rationale behind calling _exit() on disconnection
Because usually a program's lifetime is tied to the session it is part of and
the D-Bus session daemon's lifetime determines the session lifetime. So when
the server exits and closes the connection, most applications should clean up
and exit too.
> 2. What can be the reason for dbus connection to disconnect?
There are many reasons, including the server exiting or you sending invalid
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 190 bytes
Desc: This is a digitally signed message part.
More information about the dbus