Merge lp://staging/~widelands-dev/widelands/bug-1734046-statistics_menu into lp://staging/widelands
Proposed by
GunChleoc
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 8515 | ||||
Proposed branch: | lp://staging/~widelands-dev/widelands/bug-1734046-statistics_menu | ||||
Merge into: | lp://staging/widelands | ||||
Diff against target: |
199 lines (+20/-56) 7 files modified
src/ui_basic/unique_window.cc (+2/-21) src/ui_basic/unique_window.h (+6/-14) src/wui/game_options_menu.cc (+5/-2) src/wui/game_statistics_menu.cc (+4/-6) src/wui/game_statistics_menu.h (+0/-4) src/wui/interactive_base.cc (+3/-5) src/wui/interactive_base.h (+0/-4) |
||||
To merge this branch: | bzr merge lp://staging/~widelands-dev/widelands/bug-1734046-statistics_menu | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
SirVer | Approve | ||
Review via email: mp+334398@code.staging.launchpad.net |
Commit message
Replaced UniqueWindow:
Description of the change
The problem was that after the game statistics window is closed and a child windows still open, the on_delete function was still linked with boost::bind.
The windows that have graphs in them are still leaking memory, but that is a different problem. ASan report should be clear now for all other toolbar and game statistics windows.
To post a comment you must log in.
two nits - always prefer lambdas over bind if you can.