1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Release 6.1.16 (#6529)

* Release 6.1.16

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix for Menu component memory leak (#6526)

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Sebastian Malton 2022-11-07 08:33:08 -08:00 committed by GitHub
parent ffccb7716b
commit ce38d7025e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@
"productName": "OpenLens", "productName": "OpenLens",
"description": "OpenLens - Open Source IDE for Kubernetes", "description": "OpenLens - Open Source IDE for Kubernetes",
"homepage": "https://github.com/lensapp/lens", "homepage": "https://github.com/lensapp/lens",
"version": "6.1.15", "version": "6.1.16",
"main": "static/build/main.js", "main": "static/build/main.js",
"copyright": "© 2022 OpenLens Authors", "copyright": "© 2022 OpenLens Authors",
"license": "MIT", "license": "MIT",

View File

@ -126,6 +126,8 @@ export class Menu extends React.Component<MenuProps, State> {
window.removeEventListener("resize", this.onWindowResize); window.removeEventListener("resize", this.onWindowResize);
window.removeEventListener("click", this.onClickOutside, true); window.removeEventListener("click", this.onClickOutside, true);
window.removeEventListener("scroll", this.onScrollOutside, true); window.removeEventListener("scroll", this.onScrollOutside, true);
window.removeEventListener("blur", this.onBlur, true);
window.removeEventListener("contextmenu", this.onContextMenu, true);
} }
componentDidUpdate(prevProps: MenuProps) { componentDidUpdate(prevProps: MenuProps) {