Merge lp:~jpakkane/unity-notifications/lifecycle-fix into lp:unity-notifications
Proposed by
Jussi Pakkanen
Status: | Merged | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Michał Sawicz | ||||||||||||
Approved revision: | 182 | ||||||||||||
Merged at revision: | 181 | ||||||||||||
Proposed branch: | lp:~jpakkane/unity-notifications/lifecycle-fix | ||||||||||||
Merge into: | lp:unity-notifications | ||||||||||||
Diff against target: |
58 lines (+26/-0) 3 files modified
include/Notification.h (+1/-0) src/Notification.cpp (+13/-0) src/NotificationModel.cpp (+12/-0) |
||||||||||||
To merge this branch: | bzr merge lp:~jpakkane/unity-notifications/lifecycle-fix | ||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Michał Sawicz | Approve | ||
Review via email: mp+190931@code.launchpad.net |
Commit message
Don't call into deleted objects in destructors.
Description of the change
Detach all pending notifications from the server on shutdown so their destructors don't call into already destructed objects.
Do not top approve yet. I'm not convinced that this is the best solution.
To post a comment you must log in.
FAILED: Continuous integration, rev:181 jenkins. qa.ubuntu. com/job/ unity-notificat ions-ci/ 21/ jenkins. qa.ubuntu. com/job/ unity-notificat ions-saucy- amd64-ci/ 16/console jenkins. qa.ubuntu. com/job/ unity-notificat ions-saucy- armhf-ci/ 21/console jenkins. qa.ubuntu. com/job/ unity-notificat ions-saucy- i386-ci/ 19
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild: 10.97.0. 26:8080/ job/unity- notifications- ci/21/rebuild
http://