Comment 14 for bug 807950

Revision history for this message
Markus Korn (thekorn) wrote :

I haven't look further into it, *BUT* zeitgeist should handle .Quit() being called multipletimes properly, means: it should not crash.
We also have to check how ZeitgeistEngine.close() behaves in this cases.

Reasons for .Quit() being called are for example that two clients try to quit the daemon at about the same time.

And for the dbus methods in .Quit which are raising the errors: it is always possible for the connection (e.g. the SessionBus) to drop the connection to ZG before we want to quit. (I haven't further investigate on this, but it seems clear to me looking at the dbus docs)

In short: zeitgeist should not crash in .Quit() unless something like storing data in the engine goes terribly wrong.