Comment 4 for bug 1248618

Revision history for this message
Thomi Richards (thomir-deactivatedaccount) wrote :

mardy:

This is the new behavior in 1.4. I thought we had ported all the test suites, but I guess we missed yours. Sorry! The new bahavior is by design - it removes a much larger number of nasty hacks that were required with the old behavior.

However, it sounds like you can make use of the 'wait_destroyed' method (I thin that's what it's called - I don't have the source in front of me right now), which will wait until a proxy object you have no longer exists. So your second select_single should just call 'wait_destroyed' on the proxy object that you got from your first select_single call.

Regarding having to import autopilot.introspection.dbus, that's a PITA, and I plan on fixing it this cycle.