Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Code hints leak memory on each invocation #1411

@peterflynn

Description

@peterflynn

Code hints currently leak memory because of a bug in PopUpManager: removePopUp() doesn't distinguish between explicit calls to that method from outside, vs. automatic calls from PopUpManager's internal Esc key handler. Net result: unless you created the popup with autoAddRemove == true (which code hints don't), it will never get removed from the _popUps array. So the entire DOM subtree is retained in memory forever.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions