Merge lp:~afrantzis/mir/fix-1445418-release-surfaces into lp:mir
Proposed by
Alexandros Frantzis
Status: | Merged |
---|---|
Approved by: | Alan Griffiths |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2496 |
Proposed branch: | lp:~afrantzis/mir/fix-1445418-release-surfaces |
Merge into: | lp:mir |
Diff against target: |
11 lines (+3/-0) 1 file modified
tests/acceptance-tests/test_custom_window_management.cpp (+3/-0) |
To merge this branch: | bzr merge lp:~afrantzis/mir/fix-1445418-release-surfaces |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Alan Griffiths | Approve | ||
Review via email: mp+256661@code.launchpad.net |
Commit message
tests: Properly release MirSurfaces
Description of the change
tests: Properly release MirSurfaces
To post a comment you must log in.
OK as a workaround but slightly changes the test. It would be more consistent to close the surfaces at the end of the test (and not in the test loop). Vis:
}
for (auto const surface : client_surface)
mir_surface_ release_ sync(surface) ;
}