Opened 12 years ago
Closed 12 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
Note: See
TracTickets for help on using
tickets.
Fixed. http://github.com/jquery/jquery/commit/a49e6b63131e292bc1c31ee98b300ba87ce99162