Do I have to clean custom properties (Expandos) on window.onunload event?
Posted
by burak ozdogan
on Stack Overflow
See other posts from Stack Overflow
or by burak ozdogan
Published on 2010-05-03T07:15:29Z
Indexed on
2010/05/03
7:18 UTC
Read the original article
Hit count: 351
Hi,
In one article I have seen that it may be good to clear all expandos on window.unload event to prevent memory leaks.
I cannot understand why to do this.
Isn't the browser cleaning all the DOM and its relevant resources of it once you leave the page anyway?
Thanks,
burak ozdogan
© Stack Overflow or respective owner