Issue #2979 - added dispose check to runAsync call.
Former-commit-id:2a8039fe8d
[formerlyfed1709f40
] [formerly6a5754b403
] [formerly6a5754b403
[formerlyc0d95865f2
]] [formerly4a81165239
[formerly6a5754b403
[formerlyc0d95865f2
] [formerly4a81165239
[formerly d590cbe1508e1dfc1557e558a4a55aa7388e1d40]]]] Former-commit-id:4a81165239
Former-commit-id: a8632f4214c868e83a7ff517f5a56aa25e12282b [formerly e418656bdca96cb73e044ab17808764c7423d8c0] [formerly3cf97272ca
[formerlyd97d0bc29d
]] Former-commit-id:3cf97272ca
Former-commit-id:1574e8a3b0
This commit is contained in:
parent
cc57ab8028
commit
c54935a50e
1 changed files with 4 additions and 0 deletions
|
@ -68,6 +68,7 @@ import com.raytheon.viz.ui.widgets.MenuButton;
|
|||
* in menus.
|
||||
* Oct 03, 2012 #1248 rferrel Bundle change listeners added.
|
||||
* Oct 16, 2012 #1229 rferrel Made dialog non-blocking.
|
||||
* Apr 01, 2014 #2979 lvenable Added dispose check in runAsync call.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -361,6 +362,9 @@ public class AlterBundleDlg extends CaveSWTDialog {
|
|||
|
||||
@Override
|
||||
public void run() {
|
||||
if (isDisposed()) {
|
||||
return;
|
||||
}
|
||||
for (String key : keys) {
|
||||
MenuButton menuButton = menuButtonMap.get(key);
|
||||
IAlterBundleContributor contrib = (IAlterBundleContributor) menuButton
|
||||
|
|
Loading…
Add table
Reference in a new issue