Fix memory leak when devtools is not installed

fix(devtools): fix memory leak when devtools is not installed (#4833)
Fix memory leak when devtools is not installedfixfix memory leak devtools installed

Committed by caozhong1996

commit message
fix(devtools): fix memory leak when devtools is not installed (#4833)

fix #4829

Editor assessment

Structurally correct but verbally redundant: 'fix(devtools): fix memory leak when devtools is not installed' says fix twice. Trim to 'avoid memory leak when devtools is not installed' and the subject reads better while staying imperative. The substance is good — the scope `devtools` is accurate, the scenario is clearly bounded to setups without devtools, and the `fix #4829` footer plus PR reference give full traceability. Memory leaks are exactly the kind of defect that deserves body text: a sentence on what retained the references, an event listener or global hook most likely, would make this a standalone record. As-is, spec parsing succeeds and changelog automation will treat it as a runtime patch under the devtools scope.

Browse categories

More fix examples · Back to search