mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-30 16:18:31 +00:00
Fix memory leak with tooltips.
This commit is contained in:
parent
929d669e1d
commit
92130ebac4
1 changed files with 4 additions and 2 deletions
|
@ -322,8 +322,10 @@ export class Tooltip {
|
||||||
tip.outer = el._ffz_out_handler = el._ffz_over_handler = null;
|
tip.outer = el._ffz_out_handler = el._ffz_over_handler = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
tip._update = noop;
|
this.elements.delete(tip.target);
|
||||||
tip.update = tip.element = null;
|
|
||||||
|
tip._update = tip.rerender = tip.update = noop;
|
||||||
|
tip.element = null;
|
||||||
tip.visible = false;
|
tip.visible = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue