Opened 8 years ago
Last modified 4 years ago
#17102 new defect
Leak in dojox/widget/_CalendarBase
Reported by: | adros | Owned by: | dante |
---|---|---|---|
Priority: | undecided | Milestone: | 1.15 |
Component: | DojoX Widgets | Version: | 1.9.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Instance of '_CalendarBase' is destroyed and recreated again on each 'openDropDown' call. But sub-widgets (views) created by _CalendarBase's postCreate method are not destroyed correctly. So the number of widgets in registry rises with each dropdown opening.
Possible solution is to own the created subwidgets in _CalendarBase's 'postCreate' method using 'this.own(widget)'. Or other solution could be replacing this code in dijit/form/_DateTimeTextBox's 'openDropDown' method:
if(this.dropDown){ this.dropDown.destroy(); }
for:
if(this.dropDown){ this.dropDown.destroyRecursive(); }
Change History (2)
comment:1 Changed 5 years ago by
Milestone: | tbd → 1.12 |
---|
comment:2 Changed 4 years ago by
Milestone: | 1.13 → 1.15 |
---|
Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.
Note: See
TracTickets for help on using
tickets.
Will consider for 1.12.