Bug 172313 - Web Inspector: Release InjectedScripts when frontends close
Summary: Web Inspector: Release InjectedScripts when frontends close
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Joseph Pecoraro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-18 14:29 PDT by Joseph Pecoraro
Modified: 2017-05-18 19:59 PDT (History)
4 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (2.57 KB, patch)
2017-05-18 14:34 PDT, Joseph Pecoraro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2017-05-18 14:29:52 PDT
Summary:
Release InjectedScripts when frontends close

When all inspector frontends close, we can release some more inspector resources. Should can reduce memory use and allow some things to be collected after closing web inspector.
Comment 1 Joseph Pecoraro 2017-05-18 14:34:20 PDT
Created attachment 310551 [details]
[PATCH] Proposed Fix
Comment 2 Andreas Kling 2017-05-18 15:04:24 PDT
Comment on attachment 310551 [details]
[PATCH] Proposed Fix

r=me, great find!
Comment 3 WebKit Commit Bot 2017-05-18 19:59:20 PDT
Comment on attachment 310551 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 310551

Committed r217087: <http://trac.webkit.org/changeset/217087>
Comment 4 WebKit Commit Bot 2017-05-18 19:59:22 PDT
All reviewed patches have been landed.  Closing bug.