1
0
Fork 0
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:
SirStendec 2018-04-06 03:41:48 -04:00
parent 929d669e1d
commit 92130ebac4

View file

@ -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;
}
}