~mir-team/unity-mir/devel-mir-next

Viewing all changes in revision 222.

  • Committer: CI bot
  • Author(s): Tarmac, Kevin Gunn
  • Date: 2014-05-20 12:58:30 UTC
  • mfrom: (219.3.3 development-branch)
  • Revision ID: ps-jenkins@lists.canonical.com-20140520125830-mt874kf4aawzytde
Merge devel at rev 222. (Fix crash on shell shutdown; Refactor app shutdown)

2014-05-06  Gerry Boland <gerry.boland@canonical.com>

        [220] Fix crash on Mir-initiated shutdown, where stop() was being
        called on an already shutting-down server.

        Mir initiates shutdown on SIGINT & SIGTERM, need to distinguish that
        shutdown from a client-initiated shutdown. Do this by installing a
        custom signal handler that is run after Mir's initiate-shutdown
        handler is called, so that we only call server.stop() on a client-
        initiated shutdown. Fixes: https://bugs.launchpad.net/bugs/1315251.

        Approved by Michał Sawicz, PS Jenkins bot.

2014-05-20  Gerry Boland <gerry.boland@canonical.com>

        [222] Refactoring to have app shutdown handled correctly.

        Involves adding a canBeResumed flag to Application and using it to
        determine if AppMan should remove the application from the lists.
        Also add a big bunch of unit tests for AppMan. Fixes:
        https://bugs.launchpad.net/bugs/1305128.

        Approved by PS Jenkins bot, Michał Sawicz. 

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: