[Telepathy] Mission Control's crash handling by other Telepathy components
Simon McVittie
simon.mcvittie at collabora.co.uk
Tue Jul 17 02:44:52 PDT 2012
On 16/07/12 22:17, Pedro Francisco wrote:
> a) what happens when MC is killed and someone initiates a new chat with me?
The messages aren't delivered to the UI, but they are held in memory. If
something later causes MC to be restarted, the messages should be
delivered to the UI at that time.
Additionally, if you are running any UI that has called
tp_account_manager_enable_restart() (Empathy and gnome-shell probably
both should, but I don't know whether they actually do), then MC should
automatically restart after a short time, at which point everything
should recover. If MC crashes repeatedly (as 5.12.0 apparently did),
this might not work correctly, though.
(Behind the scenes: a new Channel appears in the Connection Manager. It
would normally be "dispatched" to the UI by MC, but MC isn't running so
that can't happen yet. When MC restarts, it asks UIs which channels
they're handling, asks the Connection Managers which channels they have,
and dispatches any channel that doesn't have a handler.)
> b) what happens when MC is killed and someone continues a chat with me?
The messages continue to be delivered to the UI.
(Behind the scenes: the UI is already handling the Channel, and doesn't
need MC's help for that particular Channel.)
S
More information about the telepathy
mailing list