Bug Tracker

Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#7165 closed bug (fixed)

wrap leaks objects in $.cache

Reported by: IgorMinar Owned by:
Priority: blocker Milestone: 1.5
Component: manipulation Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:

Description

If a node is created via wrap, it is not properly removed from the cache when it's no longer part of the DOM.

See attached test case.

Attachments (1)

temp.html (818 bytes) - added by IgorMinar 7 years ago.
test case showing the leak

Download all attachments as: .zip

Change History (9)

Changed 7 years ago by IgorMinar

Attachment: temp.html added

test case showing the leak

comment:1 Changed 7 years ago by snover

Status: newopen

comment:2 Changed 7 years ago by snover

Component: unfiledmanipulation
Milestone: 1.4.21.4.5
Priority: undecidedblocker

comment:5 Changed 6 years ago by Colin Snover

Resolution: fixed
Status: openclosed

Fix #7717 and #7165. Thanks to dmethvin and iliakan for their help fixing these issues.

Changeset: faefbb1ad0b81e8001b582d06d5bd9c9236e62ce

comment:6 Changed 6 years ago by Colin Snover

Update cloneCopyEvent so that it does not create superfluous data objects when cloning elements. Exposes a new method, $.hasData. Fixes #7165. Thanks to DaveMethvin and iliakan for their help.

Changeset: f28c774f2cde004a33aefc28306d995c599d963b

comment:7 Changed 6 years ago by Colin Snover

Update cloneCopyEvent so that it does not create superfluous data objects when cloning elements. Exposes a new method, $.hasData. Fixes #7165. Thanks to DaveMethvin and iliakan for their help.

Changeset: f28c774f2cde004a33aefc28306d995c599d963b

comment:8 Changed 6 years ago by jitter

Milestone: 1.4.51.5

Move fixed tickets to appropriate milestone

Note: See TracTickets for help on using tickets.