[mono/monodevelop] 64c238e7: [Core] Dispose the msbuild builders when shutting down MD
| Newsgroups | gmane.comp.gnome.mono.patches |
|---|---|
| Message-ID | <0000014196f19a9f-bacb8fef-11c3-4a00-8cc7-519bc876ce70-000000@email.amazonses.com> |
Branch: refs/heads/master
Home: https://github.com/mono/monodevelop
Compare: https://github.com/mono/monodevelop/compare/291e15b0909b...64c238e72e7e
Commit: 64c238e72e7e7e0eb4c36308d45bc2e9061013a6
Author: Lluis Sanchez <[email protected]> (slluis)
Date: 2013-10-08 07:20:48 GMT
URL: https://github.com/mono/monodevelop/commit/64c238e72e7e7e0eb4c36308d45bc2e9061013a6
[Core] Dispose the msbuild builders when shutting down MD
Changed paths:
M main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectService.cs
Modified: main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/MSBuildProjectService.cs
===================================================================
@@ -84,6 +84,10 @@ static MSBuildProjectService ()
PropertyService.PropertyChanged += HandlePropertyChanged;
DefaultMSBuildVerbosity = PropertyService.Get ("MonoDevelop.Ide.MSBuildVerbosity", MSBuildVerbosity.Normal);
+
+ Runtime.ShuttingDown += delegate {
+ CleanProjectBuilders ();
+ };
}
static void HandlePropertyChanged (object sender, PropertyChangedEventArgs e)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches