On Wed, Feb 22, 2012 at 2:27 PM, Patrick Ohly <[email protected]> wrote: > On Wed, 2012-02-22 at 14:15 +0100, Chris Kühl wrote: >> 2012/2/22 Patrick Ohly <[email protected]>: >> >> And we do block here. It's just doing a g_main_context_iteration loop >> while waiting for the server to do the Info Request. But like I said, >> this is the only instance where this is needed. > > Does it handle requests to abort here? How are those communicated? Via > signal or D-Bus call? >
Currently it doesn't handle aborting. I'll pass a shutdownRequested flag, which is set in niam(), to the Session similar to how it's done for the Server. The loop and askPassword function will then be exited when that's true. In general shutdown occurs if the server calls serverShutdown() and the session has not started running or if a shutdown signal was received. There will probably be some refinement needed here, though. Cheers, Chris _______________________________________________ SyncEvolution mailing list [email protected] http://lists.syncevolution.org/listinfo/syncevolution
