mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-28 15:27:43 +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._update = noop;
|
||||
tip.update = tip.element = null;
|
||||
this.elements.delete(tip.target);
|
||||
|
||||
tip._update = tip.rerender = tip.update = noop;
|
||||
tip.element = null;
|
||||
tip.visible = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue