mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
fix (Gridster.js): destroy resize_api
Call resize_api.destroy() to fix memory leak.
This commit is contained in:
@@ -3118,6 +3118,10 @@
|
||||
this.drag_api.destroy();
|
||||
}
|
||||
|
||||
if (this.resize_api) {
|
||||
this.resize_api.destroy();
|
||||
}
|
||||
|
||||
this.remove_style_tags();
|
||||
|
||||
remove && this.$el.remove();
|
||||
|
||||
Reference in New Issue
Block a user