Summary: | completes GAsyncResults in an insufficiently idle way | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Simon McVittie <smcv> |
Component: | tp-glib | Assignee: | Simon McVittie <smcv> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | Keywords: | patch |
Version: | git master | ||
Hardware: | Other | ||
OS: | All | ||
URL: | http://cgit.freedesktop.org/~smcv/telepathy-glib/commit?h=insufficiently-idle-45514 | ||
Whiteboard: | r+ when unblocked | ||
i915 platform: | i915 features: | ||
Bug Depends on: | 45554 | ||
Bug Blocks: | |||
Attachments: | Complete results of TpProxy D-Bus calls in an idle |
Description
Simon McVittie
2012-02-01 12:09:44 UTC
(In reply to comment #0) > Created attachment 56466 [details] [review] [review] > Complete results of TpProxy D-Bus calls in an idle In general, this patch makes me very unhappy indeed. Completing an async result in an idle when it's always necessary makes debugging a pain. But I agree that it should be there. Your patch looks fine but I didn't audit any of the cases to see if it was actually necessary. > (This patch is for master; I'm not sure whether the safer thing for 0.14 would > be to sprinkle in_idle throughout, or leave it as it is.) I think leave it without. > Unfortunately, the patch fails tests, because TpAccount makes broken > assumptions about the lifetimes of data and async results. Shaving this > particular yak is a job for tomorrow-man. Okay I only just noticed there isn't a patch keyword here and yet I still reviewed it. Oh well. (In reply to comment #0) > Unfortunately, the patch fails tests, because TpAccount makes broken > assumptions about the lifetimes of data and async results. Now fixed, Bug #45554. This patch applies cleanly after the branch from Bug #45554 is merged into master, and passes tests; so I'll consider it pre-r+ (thanks for reviewing, btw) unless you object. I'll revert it on next, after I've made D-Bus calls, contact inspection etc. actually always idle when necessary. (In reply to comment #1) > In general, this patch makes me very unhappy indeed. Completing an > async result in an idle when it's always necessary makes debugging a pain. Assuming you mean "when it's not always necessary": agreed, but it's a necessary evil... This is still stalled by Bug #45554, which I'll look at next. Fixed in git for 0.19.0. Reverted in next, where it's no longer necessary (because TpProxy is always async in next). |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.