diff options
author | Lluis Sanchez <lluis@xamarin.com> | 2015-12-15 15:18:38 +0300 |
---|---|---|
committer | Lluis Sanchez <lluis@xamarin.com> | 2015-12-15 18:43:06 +0300 |
commit | b337b503ce5dfde6a50e9857db5cc65815ce37fb (patch) | |
tree | 75356622e8eb202587b062505a80b9345e314923 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools | |
parent | a0c539d46e7fef88393d86f3875a90cc6dec4396 (diff) |
Close most of DispatchService
Most of the DispatchService functionality has been superseeded by async api
and by methods in MonoDevelop.Core.Runtime.
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools/CustomToolService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools/CustomToolService.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools/CustomToolService.cs index 941765a559..6847a6e3d8 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools/CustomToolService.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CustomTools/CustomToolService.cs @@ -377,7 +377,7 @@ namespace MonoDevelop.Ide.CustomTools } if (result.Errors.Count > 0) { - DispatchService.GuiDispatch (delegate { + Runtime.RunInMainThread (delegate { foreach (CompilerError err in result.Errors) TaskService.Errors.Add (new TaskListEntry (file.FilePath, err.ErrorText, err.Column, err.Line, err.IsWarning? TaskSeverity.Warning : TaskSeverity.Error, |