Issue #2979 - added dispose check to runAsync call.

Former-commit-id: 2a8039fe8d [formerly fed1709f40] [formerly 6a5754b403] [formerly 6a5754b403 [formerly c0d95865f2]] [formerly 4a81165239 [formerly 6a5754b403 [formerly c0d95865f2] [formerly 4a81165239 [formerly d590cbe1508e1dfc1557e558a4a55aa7388e1d40]]]]
Former-commit-id: 4a81165239
Former-commit-id: a8632f4214c868e83a7ff517f5a56aa25e12282b [formerly e418656bdca96cb73e044ab17808764c7423d8c0] [formerly 3cf97272ca [formerly d97d0bc29d]]
Former-commit-id: 3cf97272ca
Former-commit-id: 1574e8a3b0
This commit is contained in:
Lee Venable 2014-04-01 16:36:22 -05:00
parent cc57ab8028
commit c54935a50e

View file

@ -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