Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351750 - [shells] need to check for disposed widget when handling events
Summary: [shells] need to check for disposed widget when handling events
Status: RESOLVED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3.1   Edit
Assignee: David McKnight CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-11 16:17 EDT by David McKnight CLA
Modified: 2011-07-18 11:34 EDT (History)
1 user (show)

See Also:
xuanchen: review+


Attachments
patch to handle disposed widget case (2.94 KB, patch)
2011-07-11 16:19 EDT, David McKnight CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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