Bug Tracker

Opened 10 years ago

Closed 10 years ago

#6189 closed enhancement (fixed)

Store jQuery.data for plain objects on objects

Reported by: john Owned by:
Priority: Milestone: 1.4.3
Component: data Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:

Description

There's no reason to store the data in the jQuery.cache for plain objects as there aren't any memory leak issues associated with it. Instead we can attach the data directly to the objects themselves (allowing them to be garbage collected at a later time).

Discussion: http://forum.jquery.com/topic/data-object-and-memory-leak

Change History (1)

comment:1 Changed 10 years ago by john

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.