Skip to content

Memory leaks HTML Modules #11

Closed
Closed
@NekR

Description

@NekR

Forgot it isn't about only one spec. This is an issue about HTML Modules.

It looks like there will be a memory leak because of exporting nodes from one document to another, meaning that the imported document always will be in memory, even if you removed its contents from the current document's tree. It will have to be somehow unloaded.

Is the intended usage of it only with dynamic (import(...)) imports? Because I don't know anyway to de-reference static ES Modules.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions