Merge lp:~alan-griffiths/mir/fix-intermittent-memory-leak into lp:mir
Proposed by
Alan Griffiths
on 2015-07-28
| Status: | Merged |
|---|---|
| Approved by: | Alan Griffiths on 2015-07-29 |
| Approved revision: | 2792 |
| Merged at revision: | 2792 |
| Proposed branch: | lp:~alan-griffiths/mir/fix-intermittent-memory-leak |
| Merge into: | lp:mir |
| Diff against target: |
33 lines (+4/-1) 2 files modified
src/client/mir_connection.cpp (+2/-1) src/client/mir_connection.h (+2/-0) |
| To merge this branch: | bzr merge lp:~alan-griffiths/mir/fix-intermittent-memory-leak |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Alexandros Frantzis (community) | Approve on 2015-07-29 | ||
| Daniel van Vugt | 2015-07-28 | Approve on 2015-07-29 | |
| PS Jenkins bot | continuous-integration | Approve on 2015-07-28 | |
|
Review via email:
|
|||
Commit Message
client: fix intermittent leak of pong callback
Description of the Change
client: fix intermittent leak of pong callback
While investigating FD leans in the acceptance test I occasionally saw the pong callback being leaked. (Presumably because the call to Done() races with shutdown.)
To post a comment you must log in.
review:
Approve
| Alan Griffiths (alan-griffiths) wrote : | # |
Needs tweaking
lp:~alan-griffiths/mir/fix-intermittent-memory-leak
updated
on 2015-07-29
- 2792. By Alan Griffiths on 2015-07-29
-
Ensure pong_callback lives until after eventloop destruction (which can touch it)

PASSED: Continuous integration, rev:2791 jenkins. qa.ubuntu. com/job/ mir-ci/ 4431/ jenkins. qa.ubuntu. com/job/ mir-android- vivid-i386- build/3334 s-jenkins. ubuntu- ci:8080/ job/mir- clang-ts- wily-amd64- build/187 jenkins. qa.ubuntu. com/job/ mir-clang- wily-amd64- build/859 jenkins. qa.ubuntu. com/job/ mir-mediumtests -vivid- touch/3282 jenkins. qa.ubuntu. com/job/ mir-wily- amd64-ci/ 580 jenkins. qa.ubuntu. com/job/ mir-wily- amd64-ci/ 580/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 3282 jenkins. qa.ubuntu. com/job/ mir-mediumtests -builder- vivid-armhf/ 3282/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-mediumtests -runner- mako/6078 s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 22175
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/4431/ rebuild
http://