Opened 11 years ago

Closed 11 years ago

#5825 closed defect (fixed)

this.tablist (TabContainer:destroy();) Error if destroying before loading finished.

Reported by: guest Owned by: bill
Priority: high Milestone: 1.1
Component: Dijit Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description

If I close my IE window, when my TabContainer? has not completely loaded, it calls the TabContainer?.destroy() and returns an error: "this.tablist is null or no object".

needs to be checked in destroy() via if(this.tablist){...}

Change History (3)

comment:1 Changed 11 years ago by Adam Peller

Milestone: 1.0.31.1

comment:2 Changed 11 years ago by bill

Owner: set to bill
Status: newassigned

Hmm that's a pretty small window for the race condition since the tablist is created in postCreate(), but I'll add the check.

comment:3 Changed 11 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [12416]) Fixes #5825: this.tablist (TabContainer:destroy();) Error if destroying before loading finished.

Note: See TracTickets for help on using tickets.