Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Becker2013-11-02 15:06:20 -0400
committerFrank Becker2013-11-02 15:06:20 -0400
commitce086e61ebf3d576ef6521c7505f0b7c2355d9e4 (patch)
tree4642ad295cdfd1a2b4caf43d520319f426dd1e4c
parent0fb59115f2e0f327ea487c90a559eae3bed16b22 (diff)
downloadorg.eclipse.mylyn.tasks-ce086e61ebf3d576ef6521c7505f0b7c2355d9e4.tar.gz
org.eclipse.mylyn.tasks-ce086e61ebf3d576ef6521c7505f0b7c2355d9e4.tar.xz
org.eclipse.mylyn.tasks-ce086e61ebf3d576ef6521c7505f0b7c2355d9e4.zip
420946: Device is disposed error in TaskListBackupManager.backupNow
Change-Id: I735a0347aff74fd2c10f28376cbf21b25d1d0f7e Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=420946
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListBackupManager.java9
1 files changed, 2 insertions, 7 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListBackupManager.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListBackupManager.java
index dc20f1b30..b013a8bf9 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListBackupManager.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/TaskListBackupManager.java
@@ -151,13 +151,8 @@ public class TaskListBackupManager implements IPropertyChangeListener {
TasksUiInternal.logAndDisplayStatus(Messages.TaskListBackupManager_Scheduled_task_data_backup,
status);
} else {
- PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
- public void run() {
- TasksUiInternal.logAndDisplayStatus(
- Messages.TaskListBackupManager_Scheduled_task_data_backup, status);
-
- }
- });
+ TasksUiInternal.asyncLogAndDisplayStatus(Messages.TaskListBackupManager_Scheduled_task_data_backup,
+ status);
}
}

Back to the top