Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsminto2005-08-17 13:18:49 -0400
committersminto2005-08-17 13:18:49 -0400
commit55a83aa4be35f6cdebeee7ac5ca2251db9608112 (patch)
tree5dd1f1ada1f9d917283b7ceb4785e6e088fcf5e2
parentf958ac64c74b5fbea56b83f95ed417753f930c0c (diff)
downloadorg.eclipse.mylyn.tasks-55a83aa4be35f6cdebeee7ac5ca2251db9608112.tar.gz
org.eclipse.mylyn.tasks-55a83aa4be35f6cdebeee7ac5ca2251db9608112.tar.xz
org.eclipse.mylyn.tasks-55a83aa4be35f6cdebeee7ac5ca2251db9608112.zip
fixed Bug #106925: error stopping bugzilla plug-in
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaRefreshManager.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaRefreshManager.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaRefreshManager.java
index 7cf79ca47..0f9532f3e 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaRefreshManager.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaRefreshManager.java
@@ -68,7 +68,8 @@ public class BugzillaRefreshManager {
List<Job> l = new ArrayList<Job>();
l.addAll(currentlyRefreshing.values());
for(Job j : l){
- j.cancel();
+ if(j != null)
+ j.cancel();
}
currentlyRefreshing.clear();
}

Back to the top