Fix memory leak in inspector
The overlay agent is keeping a map from documents to a corresponding AXContext, but is holding on strongly to documents. This causes windows to not be flagged as detached (because the retaining chain through the inspector agent looks like it is alive). Bug: chromium:1110817, chromium:1112066, chromium:1128371 Change-Id: I7c3930f42e29a01634731379f7717257569303c8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2410864 Commit-Queue: Sigurd Schneider <sigurds@chromium.org> Reviewed-by:Michael Lippautz <mlippautz@chromium.org> Reviewed-by:
Peter Marshall <petermarshall@chromium.org> Cr-Commit-Position: refs/heads/master@{#807004}
Showing
Please register or sign in to comment