lib: manage pending consolekit calls with cancellable
Pending NewSession objects can disappear just as quickly as they appear in response to ConsoleKit signals. If we're in the middle of talking to ConsoleKit when an object disappears and is subsequently freed, then we'll still try to access it from the reply callback. This commit cancels any pending messages to the consolekit daemon, when the session goes away. https://bugs.freedesktop.org/show_bug.cgi?id=50112
Please register or sign in to comment