Repository navigation
Commit 23e9688
fix: restore SelfKeepAlive in Menu (#52278)
This fixes #52247 by ensuring that a `Menu` instance will stay alive as
long as the menu is open, even if its owner has cleared or replaced it.
It's a (very) partial revert of 9be03cb, which removed this
`keep_alive_` property because it was thought to be unnecessary.
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Ryan Fitzgerald <[email protected]>1 parent 015e7a6 commit 23e9688
2 files changed
Lines changed: 6 additions & 0 deletions
File tree
- shell/browser/api
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| 304 | + | |
304 | 305 | | |
305 | 306 | | |
306 | 307 | | |
| 308 | + | |
307 | 309 | | |
308 | 310 | | |
309 | 311 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
142 | 146 | | |
143 | 147 | | |
144 | 148 | | |
| |||
0 commit comments