Merge lp:~gerboland/unity-mir/fix-shutdown-crash into lp:unity-mir
Proposed by
Gerry Boland
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Michał Sawicz | ||||
Approved revision: | 149 | ||||
Merged at revision: | 149 | ||||
Proposed branch: | lp:~gerboland/unity-mir/fix-shutdown-crash | ||||
Merge into: | lp:unity-mir | ||||
Diff against target: |
36 lines (+7/-1) 2 files modified
src/modules/Unity/Application/inputarea.cpp (+6/-1) src/modules/Unity/Application/inputarea.h (+1/-0) |
||||
To merge this branch: | bzr merge lp:~gerboland/unity-mir/fix-shutdown-crash | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Michał Sawicz | Approve | ||
Review via email: mp+196677@code.launchpad.net |
Commit message
InputArea: don't use lambda function as slot, can cause crash on shutdown
Using lambda function as slot can introduce crash as the slot's object deletion is not registered unlike with traditional signal/slot connections. As a result, on signal emission, the lambda can be called on a deleted object.
Description of the change
InputArea: don't use lambda function as slot, can cause crash on shutdown
Using lambda function as slot can introduce crash as the slot's object deletion is not registered unlike with traditional signal/slot connections. As a result, on signal emission, the lambda can be called on a deleted object.
To post a comment you must log in.
FAILED: Continuous integration, rev:149 jenkins. qa.ubuntu. com/job/ unity-mir- ci/164/ jenkins. qa.ubuntu. com/job/ unity-mir- trusty- amd64-ci/ 25/console jenkins. qa.ubuntu. com/job/ unity-mir- trusty- armhf-ci/ 25/console jenkins. qa.ubuntu. com/job/ unity-mir- trusty- i386-ci/ 25/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity- mir-ci/ 164/rebuild
http://