Add an atexit handler to remove the D-Bus socket
authorMike Gorse <mgorse@suse.com>
Mon, 14 Apr 2014 20:21:24 +0000 (15:21 -0500)
committerMike Gorse <mgorse@suse.com>
Mon, 14 Apr 2014 20:23:21 +0000 (15:23 -0500)
commit7e9fc5bff35eced62167417b1b3b273c5a641d3c
treee318ffa159d186c08a06cdc779bcb2cceb11ae57
parente70237792c6d327e9007626519b1dc2b5af628b5
Add an atexit handler to remove the D-Bus socket

We should try not to leave stale sockets and their directories when exiting.
They are removed when calling atk_bridge_adaptor_cleanup, but gtk does not
currently call this function when exiting, and there is not a good place
to call it from gtk.

https://bugzilla.gnome.org/show_bug.cgi?id=684076
atk-adaptor/bridge.c