Properly shutdown Dmedia when user logs out
|Jason Gerard DeRose|
Currently CouchDB (and some misc Dmedia sub-processes) are left running when the user logs out. This is problematic because when the user logs back in, you'll have the old CouchDB process running plus the new one started by Dmedia.
Thanks to some help from Rodney Dawes, I have a branch that uses his call_on_
bus = dbus.SessionBus()
It seems quite reliable in the testing I've done so far, so I think we should land this for 12.07.