Summary: | TpBaseClient should be able to unregister itself | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Simon McVittie <smcv> |
Component: | tp-glib | Assignee: | Guillaume Desmottes <guillaume.desmottes> |
Status: | RESOLVED DUPLICATE | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | Keywords: | patch |
Version: | git master | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | review+ with trivial change | ||
i915 platform: | i915 features: |
Description
Simon McVittie
2010-05-18 03:52:53 UTC
Done in my base-handler branch: http://git.collabora.co.uk/?p=user/cassidy/telepathy-glib;a=commitdiff;h=114b7806df881e09b2d819acab7c5449615cf81d http://git.collabora.co.uk/?p=user/cassidy/telepathy-glib;a=commitdiff;h=7e602baaec803c1d7b009b1ea8e51f2939e71508 + if (!tp_dbus_daemon_release_name (self->priv->dbus, self->priv->bus_name, + &error)) + { + ERROR ("Failed to release bus name (%s): %s", self->priv->bus_name, + error->message); I'd make this a WARNING() - it's an unsupported situation (the name must have been released other than via this function), but one that we do handle more or less gracefully. The test looks good. (In reply to comment #2) > + if (!tp_dbus_daemon_release_name (self->priv->dbus, self->priv->bus_name, > + &error)) > + { > + ERROR ("Failed to release bus name (%s): %s", self->priv->bus_name, > + error->message); > > I'd make this a WARNING() - it's an unsupported situation (the name must have > been released other than via this function), but one that we do handle more or > less gracefully. done. Marking this as a pseudo-duplicate, since it'll be merged when Bug #27872 is (and not before). *** This bug has been marked as a duplicate of bug 27872 *** |
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.