Bug Tracker

Opened 10 years ago

Closed 10 years ago

#6747 closed bug (invalid)

noticed memory leak in jquery-ui-1.8.2.custom.js (an .js file for tabs only), suggesting fix

Reported by: ticket_reporter Owned by:
Priority: Milestone: 1.4.3
Component: unfiled Version: 1.4.2
Keywords: ui tabs leak safari Cc:
Blocked by: Blocking:

Description

With repeated calls/instantiations in safari I've noticed a leak. The following lines in "_tabify:" were commented out to make it go away:

$(window).bind('unload', function() {self.lis.add(self.anchors).unbind('.tabs'); self.lis = self.anchors = self.panels = null;});

Possible way to reproduce is to dom script or produce an html structure dynamically, call tabs() on an element, delete and repeat.

Found and fixed another leak in safari using (with repeated calls) jquery.tablesorter.js+jquery.tablesorter.pager.js

Change History (1)

comment:1 Changed 10 years ago by dmethvin

Resolution: invalid
Status: newclosed

Please report jQuery UI bugs in the UI bug tracker: http://dev.jqueryui.com

Note: See TracTickets for help on using tickets.