Opened 12 years ago

Closed 12 years ago

#5764 closed defect (fixed)

Dijit form widgets can fire _layoutHack method after they have been destroyed

Reported by: sorvell Owned by: sorvell
Priority: high Milestone:
Component: General Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description

Since the code in the _layoutHack method is called in a setTimeout, it can fire after the Dijit has been destroyed. Other than being generally bad, this causes specific problems since the delayed function references the dijit's domNode.

Change History (1)

comment:1 Changed 12 years ago by sorvell

Resolution: fixed
Status: newclosed

(In [12282]) fixes #5764 by storing a handle to the setTimeout function created in _layoutHack and clearing this handle in destroy.

Note: See TracTickets for help on using tickets.