Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 351750

Summary: [shells] need to check for disposed widget when handling events
Product: [Tools] Target Management Reporter: David McKnight <dmcknigh>
Component: RSEAssignee: David McKnight <dmcknigh>
Status: RESOLVED FIXED QA Contact: Martin Oberhuber <mober.at+eclipse>
Severity: normal    
Priority: P3 CC: xuanchen
Version: 3.2Flags: xuanchen: review+
Target Milestone: 3.3.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch to handle disposed widget case none

Description David McKnight CLA 2011-07-11 16:17:32 EDT
On shutdown, if a shell is open, an event can trigger a widget disposed exception.  A check needs to be made so that the widgets aren't accessed in this case.
Comment 1 David McKnight CLA 2011-07-11 16:19:38 EDT
Created attachment 199444 [details]
patch to handle disposed widget case
Comment 2 David McKnight CLA 2011-07-11 16:19:59 EDT
Xuan, could you please review this patch?
Comment 3 Xuan Chen CLA 2011-07-12 09:48:32 EDT
The fix looks good.  Thanks.
Comment 4 David McKnight CLA 2011-07-12 09:57:57 EDT
Thanks for the review, Xuan.  I've committed the change to cvs.
Comment 5 Martin Oberhuber CLA 2011-07-18 11:34:52 EDT
Released > I20110718, tagged as R33x_v201107181530