Opened 8 years ago

Last modified 4 years ago

#17771 new defect

dojo/Stateful retains callback after removal on Chrome

Reported by: duong.nguyen Owned by:
Priority: undecided Milestone: 1.14
Component: Core Version: 1.8.3
Keywords: Cc:
Blocked By: Blocking:


Step to reproduce: 1- Have a global stateful object. 2- Watch it, providing the callback as a hitched function to a local variable. 3- Remove the watch handle 4- Nullify the local variable.

Verify that the local object retains in the Heap via the closure context of Stateful._watchCallbacks.

Attachments (1)

Stateful.leak.js (483 bytes) - added by duong.nguyen 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by duong.nguyen

Attachment: Stateful.leak.js added

comment:1 Changed 6 years ago by dylan

Milestone: tbd1.12

Will try to address this for 1.12.

comment:2 Changed 4 years ago by dylan

Milestone: 1.131.14
Note: See TracTickets for help on using tickets.