Merge lp:~alan-griffiths/mir/fix-1237710 into lp:mir
Proposed by
Alan Griffiths
Status: | Merged |
---|---|
Approved by: | Daniel van Vugt |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1144 |
Proposed branch: | lp:~alan-griffiths/mir/fix-1237710 |
Merge into: | lp:mir |
Diff against target: |
11 lines (+3/-0) 1 file modified
src/server/run_mir.cpp (+3/-0) |
To merge this branch: | bzr merge lp:~alan-griffiths/mir/fix-1237710 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel van Vugt | Approve | ||
Robert Carr (community) | Abstain | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Alexandros Frantzis (community) | Abstain | ||
Kevin DuBois (community) | Approve | ||
Review via email: mp+191412@code.launchpad.net |
Commit message
Fix failing acceptance-test:
ServerShutdown/
Avoid fatal_signal_
then re-entering itself. This could happen in some permutations of
acceptance-tests where run_mir is entered with fatal_signal_
set up from previous tests' server instances.
Description of the change
run_mir: restore signals handlers after the server exits.
To post a comment you must log in.
Of course, this doesn't restore the handlers if an exception propagates out of server.run(). There's a longer version that handles this:
https:/ /code.launchpad .net/~alan- griffiths/ mir/raii- fix-1237710/ +merge/ 191420