Merge lp:~afrantzis/mir/fix-resources-release-on-shutdown-lp-1170643 into lp:~mir-team/mir/trunk
Status: | Merged |
---|---|
Approved by: | Robert Carr |
Approved revision: | no longer in the source branch. |
Merged at revision: | 685 |
Proposed branch: | lp:~afrantzis/mir/fix-resources-release-on-shutdown-lp-1170643 |
Merge into: | lp:~mir-team/mir/trunk |
Diff against target: |
364 lines (+224/-38) 3 files modified
src/server/shell/session_manager.cpp (+16/-0) tests/acceptance-tests/test_server_shutdown.cpp (+194/-38) tests/integration-tests/shell/test_session_manager.cpp (+14/-0) |
To merge this branch: | bzr merge lp:~afrantzis/mir/fix-resources-release-on-shutdown-lp-1170643 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Carr (community) | Approve | ||
Alan Griffiths | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email:
|
Commit message
shell: Close all open sessions when destroying the SessionManager
We need to do this manually to break the cyclic dependency between msh::Session
and msh::InputTarge
keep strong references to each other. This change fixes LP:#1170643.
Description of the change
shell: Close all open sessions when destroying the SessionManager
We need to do this manually to break the cyclic dependency between msh::Session
and msh::InputTarge
keep strong references to each other. This change fixes LP:#1170643.
The test code is complicated by the need to synchronize and relay results across processes. The Flag class could be made into a more general utility and used by other tests, but I left this for another MP.
FAILED: Continuous integration, rev:681 jenkins. qa.ubuntu. com/job/ mir-ci/ 573/ jenkins. qa.ubuntu. com/job/ mir-android- raring- i386-build/ 673 jenkins. qa.ubuntu. com/job/ mir-clang- raring- amd64-build/ 556 jenkins. qa.ubuntu. com/job/ mir-raring- amd64-ci/ 57/console jenkins. qa.ubuntu. com/job/ mir-vm- ci-build/ ./distribution= precise, flavor= amd64/305
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins: 8080/job/ mir-ci/ 573/rebuild
http://