Stopping service

Colin Walters walters at verbum.org
Sun Aug 28 08:23:57 PDT 2005


On Fri, 2005-08-26 at 10:56 +0100, Foster Gareth wrote:
> Hello list,
> 
> Working on a dbus client and server. I can now start the server from the
> client with a "startup" method, I also have a "shutdown" method, in which I
> simply call "gtk_main_quit()". 
> 
> Should this be enough, does dbus check that the app is running, or does my
> shutown method need to add some code to deregister from the bus?

You don't need to do anything else; the bus handles this.  It's
important it does so because clients can crash too.
	
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/dbus/attachments/20050828/cb38b6d0/attachment.pgp


More information about the dbus mailing list