Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez Gual <lluis@xamarin.com>2015-04-27 17:52:40 +0300
committerLluis Sanchez Gual <lluis@xamarin.com>2015-04-27 17:52:40 +0300
commit753257a3bfa01d52139b934c91e748108e4e8b77 (patch)
tree13093f956e029d131e60e57ab469757fa962120c /main/src/addins/MonoDevelop.Debugger.Soft
parentd7398891d21b5780d73413b2c2dbfb3c7a4ef7d2 (diff)
Fix some continuations
Fixed some ContinueWith calls that needed to run on the UI thread
Diffstat (limited to 'main/src/addins/MonoDevelop.Debugger.Soft')
-rw-r--r--main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/SoftDebuggerEngine.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/SoftDebuggerEngine.cs b/main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/SoftDebuggerEngine.cs
index 4e4228a49d..f9755a2573 100644
--- a/main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/SoftDebuggerEngine.cs
+++ b/main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/SoftDebuggerEngine.cs
@@ -35,6 +35,7 @@ using Mono.Debugging.Client;
using MonoDevelop.Core;
using MonoDevelop.Core.Execution;
using MonoDevelop.Core.Assemblies;
+using System.Threading.Tasks;
namespace MonoDevelop.Debugger.Soft
{
@@ -167,7 +168,7 @@ namespace MonoDevelop.Debugger.Soft
oper.Task.ContinueWith (t => {
if (Exited != null)
Exited (this, EventArgs.Empty);
- });
+ }, TaskScheduler.FromCurrentSynchronizationContext ());
}
#region IProcess implementation