Commit 0ec94d1
Reset PageHandlerInfo in glic::Host::Shutdown()
This CL resets PageHandlerInfo state on in Host::Shutdown() to
mitigate potential dangling refs.
Shutdown() resets the host `contents_` which owns the
GlicPageHandler - so any refs to the page handler must be reset
before the contents is destroyed.
Bug: 450660162
Change-Id: Ic154b174efe1df4151d90d811191479f8a9fbe82
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7060090
Reviewed-by: Bryant Chandler <[email protected]>
Commit-Queue: Tom Lukaszewicz <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1532367}1 parent 116b1c6 commit 0ec94d1
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
275 | 276 | | |
276 | 277 | | |
277 | 278 | | |
278 | | - | |
| 279 | + | |
279 | 280 | | |
280 | 281 | | |
281 | 282 | | |
| |||
0 commit comments