Skip to content

Commit

Permalink
Fix for bf cache issue that made some browsers a bit slower. [#8 stat…
Browse files Browse the repository at this point in the history
…e:review]
  • Loading branch information
Michael Mathews committed Jul 31, 2009
1 parent 4110dfd commit c177ed2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/events/events.js
Expand Up @@ -1078,7 +1078,9 @@
};

//cleanup to avoid mem leaks in IE
r.addListener(window, "unload", clearEvents);
if (glow.env.ie < 8 || glow.env.webkit < 500) {
r.addListener(window, "unload", clearEvents);
}

glow.events = r;
glow.events.listenersByObjId = listenersByObjId;
Expand Down

0 comments on commit c177ed2

Please sign in to comment.