Fix to prevent potential memory leak, dunno if that actually helps

This commit is contained in:
Jörn Zaefferer 2006-10-27 08:23:25 +00:00
parent 4e5b46f7f6
commit 8b875055ec

View file

@ -1597,6 +1597,7 @@ new function(){
var handler = function() {
// unbind itself when executed
element.unbind(o, handler);
element = null;
// apply original handler with the same arguments
f.apply(this, arguments);
};