Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorddunne2010-09-30 18:24:51 -0400
committerRyan D. Brooks2010-09-30 18:24:51 -0400
commita81ef172c5c84fa7d5093511cdf7e8adcc8b4cb0 (patch)
tree5c5c89b31e30dfa386f5397e90d2f9036ca0b3bb /plugins
parent6b414adade541a18c964d53f5a4849df7cc87c05 (diff)
downloadorg.eclipse.osee-a81ef172c5c84fa7d5093511cdf7e8adcc8b4cb0.tar.gz
org.eclipse.osee-a81ef172c5c84fa7d5093511cdf7e8adcc8b4cb0.tar.xz
org.eclipse.osee-a81ef172c5c84fa7d5093511cdf7e8adcc8b4cb0.zip
bug: Add widget disposed checking on XCommitManager handleBranchEvent
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/widgets/commit/XCommitManager.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/widgets/commit/XCommitManager.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/widgets/commit/XCommitManager.java
index c22d06b97c..bd125a2cc4 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/widgets/commit/XCommitManager.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/widgets/commit/XCommitManager.java
@@ -400,6 +400,9 @@ public class XCommitManager extends XWidget implements IArtifactWidget, IBranchE
Displays.ensureInDisplayThread(new Runnable() {
@Override
public void run() {
+ if (xCommitManager == null || !Widgets.isAccessible(xCommitManager.getTree())) {
+ return;
+ }
if (branchEvent.getEventType() == BranchEventType.MergeConflictResolved) {
xCommitManager.refresh();
refresh();

Back to the top