Commit 8b875055 authored by Jörn Zaefferer's avatar Jörn Zaefferer

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

parent 4e5b46f7
...@@ -1597,6 +1597,7 @@ new function(){ ...@@ -1597,6 +1597,7 @@ new function(){
var handler = function() { var handler = function() {
// unbind itself when executed // unbind itself when executed
element.unbind(o, handler); element.unbind(o, handler);
element = null;
// apply original handler with the same arguments // apply original handler with the same arguments
f.apply(this, arguments); f.apply(this, arguments);
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment