Properly shutdown Dmedia when user logs out

Bug #1025282 reported by Jason Gerard DeRose on 2012-07-16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Jason Gerard DeRose

Bug Description

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_disconnection() trick to properly shutdown Dmedia, something like this:

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.

Related branches

Changed in dmedia:
status: In Progress → Fix Committed
Changed in dmedia:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers