Skip to content

[BUG] Memory leak in PanningManager: some listeners are not destroyed #994

@wenkui0519

Description

@wenkui0519

Memory leak in PanningManager due to missing cleanup of mouseUpListener after graph destruction.

Environment:"@maxgraph/core": "^0.22.0"

Code location:
PanningManager.js
this.mouseUpListener = () => { if (this.active) this.stop(); };

Image

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions