Opened 13 years ago
Closed 13 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.
Note: See
TracTickets for help on using
tickets.
(In [12282]) fixes #5764 by storing a handle to the setTimeout function created in _layoutHack and clearing this handle in destroy.