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:
authortherzok <marius.ungureanu@xamarin.com>2019-07-23 13:02:44 +0300
committertherzok <marius.ungureanu@xamarin.com>2019-07-23 13:02:44 +0300
commit0dca94e3cd066b0d6a09a93b4edc932089e33a3f (patch)
tree65216a4439e932f2b1d925849022c8675c0c4ae8
parentb8834540d846dc205b44c3222d0de3d4b1e7fb9d (diff)
[Core] Specify TaskScheduler for the solution load continuation
TaskScheduler.Current is implied, so if the caller code changes, the code will end up running on the UI thread
-rw-r--r--main/src/core/MonoDevelop.Core/MonoDevelop.Projects.MSBuild/SlnFileFormat.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.MSBuild/SlnFileFormat.cs b/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.MSBuild/SlnFileFormat.cs
index 742edb3d99..afc83b11af 100644
--- a/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.MSBuild/SlnFileFormat.cs
+++ b/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.MSBuild/SlnFileFormat.cs
@@ -533,7 +533,7 @@ namespace MonoDevelop.Projects.MSBuild
}
}
monitor.Step (1);
- });
+ }, TaskScheduler.Default);
loadTasks.Add (ft);
// Limit the number of concurrent tasks. Por solutions with many projects, spawning one thread per