Bug Tracker

Opened 15 years ago

Closed 15 years ago

#3108 closed enhancement (fixed)

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)

unbind-unload[5757].diff (681 bytes) - added by flesler 15 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 15 years ago by flesler

need: ReviewCommit
Status: newassigned

Changed 15 years ago by flesler

Attachment: unbind-unload[5757].diff added

comment:2 Changed 15 years ago by flesler

Resolution: fixed
Status: assignedclosed

Applied at [5758].

Note: See TracTickets for help on using tickets.