Merge lp:~albaguirre/mir/fix-1480420 into lp:mir
Proposed by
Alberto Aguirre
Status: | Merged |
---|---|
Approved by: | Daniel van Vugt |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2805 |
Proposed branch: | lp:~albaguirre/mir/fix-1480420 |
Merge into: | lp:mir |
Diff against target: |
44 lines (+17/-8) 1 file modified
src/server/glib_main_loop_sources.cpp (+17/-8) |
To merge this branch: | bzr merge lp:~albaguirre/mir/fix-1480420 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alan Griffiths | Approve | ||
Daniel van Vugt | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+266614@code.launchpad.net |
Commit message
Avoid calling g_source_
If the main context has been deleted that marks the source as destroyed.
This may happen in Alarms that outlive the mainloop.
Description of the change
Avoid calling g_source_
If the main context has been deleted that marks the source as destroyed.
This may happen in Alarms that outlive the mainloop which is the case in some test setups.
This can explain the failure in lp:1480422 as well, as before g_source_
To post a comment you must log in.
PASSED: Continuous integration, rev:2801 jenkins. qa.ubuntu. com/job/ mir-ci/ 4454/ jenkins. qa.ubuntu. com/job/ mir-android- vivid-i386- build/3372 s-jenkins. ubuntu- ci:8080/ job/mir- clang-ts- wily-amd64- build/225 jenkins. qa.ubuntu. com/job/ mir-clang- wily-amd64- build/897 jenkins. qa.ubuntu. com/job/ mir-mediumtests -vivid- touch/3320 jenkins. qa.ubuntu. com/job/ mir-wily- amd64-ci/ 603 jenkins. qa.ubuntu. com/job/ mir-wily- amd64-ci/ 603/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 3320 jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 3320/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -runner- mako/6111 s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 22260
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/mir- ci/4454/ rebuild
http://