diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2015-02-06 14:57:27 +0300 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2015-02-06 14:57:27 +0300 |
commit | ef24a85628c8f8ed33f7950ba3ae07d9bb909a4b (patch) | |
tree | 123b4e986567fc47afd645343a4c18c25d0c2a3a /main/src | |
parent | 9622771ee8745960efc3ef44f3bb905c0143f0ca (diff) |
Fixed 'Bug 26448 - Thread deadlock on adding new projects to
solution'.
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/TypeSystemService.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/TypeSystemService.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/TypeSystemService.cs index 671d299db5..42157a2601 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/TypeSystemService.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/TypeSystemService.cs @@ -1547,11 +1547,9 @@ namespace MonoDevelop.Ide.TypeSystem return newReferencedAssemblies; } - static readonly object assemblyReconnectLock = new object(); - public void EnsureReferencesAreLoaded () { - lock (assemblyReconnectLock) { + lock (projectContentLock) { if (referencesConnected) return; compilation = null; |