Skip to main content

Bug Tracker

Side navigation

#3108 closed enhancement (fixed)

Opened July 01, 2008 02:58AM UTC

Closed July 01, 2008 03:02AM UTC

Optimization for global unbinding on window unload

Reported by: mike.helgeson Owned by: flesler
Priority: minor Milestone: 1.3
Component: event Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:
Description

Can't we do this for the unload event?

jQuery(window).bind("unload",function(){ 
   for ( var guid in jQuery.cache ) 
      if ( guid>1 && jQuery.cache[ guid ].handle ) 
         jQuery.event.remove( jQuery.cache[ guid ].handle.elem ); 
});
Attachments (1)
Change History (2)

Changed July 01, 2008 03:01AM UTC by flesler comment:1

need: ReviewCommit
status: newassigned

Changed July 01, 2008 03:02AM UTC by flesler comment:2

resolution: → fixed
status: assignedclosed

Applied at [5758].