diff options
author | therzok <marius.ungureanu@xamarin.com> | 2019-07-23 13:02:44 +0300 |
---|---|---|
committer | therzok <marius.ungureanu@xamarin.com> | 2019-07-23 13:02:44 +0300 |
commit | 0dca94e3cd066b0d6a09a93b4edc932089e33a3f (patch) | |
tree | 65216a4439e932f2b1d925849022c8675c0c4ae8 | |
parent | b8834540d846dc205b44c3222d0de3d4b1e7fb9d (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.cs | 2 |
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 |