Bug Tracker

Modify

Ticket #11356 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

safeFragment memory leak

Reported by: KYSergey Owned by: rwaldron
Priority: low Milestone: 1.7.2
Component: manipulation Version: 1.7.1
Keywords: Cc:
Blocking: Blocked by:

Description

When I use append function to create dom from string

$('body').append('<div>Test</div>');

jQuery's clean function creates div element and appends it to safeFragment but not performs action to delete it.

Change History

comment:1 Changed 2 years ago by rwaldron

  • Owner set to rwaldron
  • Status changed from new to assigned

comment:3 Changed 2 years ago by rwaldron

  • Priority changed from undecided to low
  • Component changed from unfiled to manipulation
  • Milestone changed from None to 1.next

comment:4 Changed 2 years ago by Rick Waldron

  • Status changed from assigned to closed
  • Resolution set to fixed

Fix #11356. Avoid hoarding elements in DocumentFragments.

Changeset: 1ff284d2cd67f2f4e7cd8b9577191ba80d521763

comment:5 Changed 2 years ago by dmethvin

  • Milestone changed from 1.next to 1.7.2

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.