AppMenuButton: Lifetime of AppMenu and AppMenuModel is error prone (refactor) |
|
Issue descriptionIn the AppMenuButton class, there is an AppMenu and AppMenuModel member, which have complicated lifetime requirements (the AppMenu contains a raw pointer to the AppMenuModel owned by the AppMenuButton, which means the AppMenu must be destroyed first). This has caused accidents in the past (Issue 831504). We should make the lifetime less complicated so such accidents can't happen. |
|
►
Sign in to add a comment |
|