Skip to content

Instantly share code, notes, and snippets.

@rolfbjarne
Created May 31, 2013
Embed
What would you like to do?
diff --git a/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/RemoteProjectBuilder.cs b/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/RemoteProjectBuilder.cs
index a30a8f7..3cb5c12 100644
--- a/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/RemoteProjectBuilder.cs
+++ b/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/RemoteProjectBuilder.cs
@@ -110,7 +110,12 @@ namespace MonoDevelop.Projects.Formats.MSBuild
~RemoteProjectBuilder ()
{
- Dispose ();
+ try {
+ Dispose ();
+ } catch (Exception ex) {
+ Console.WriteLine ("Exception in ~RemoteProjectBuilder:");
+ Console.WriteLine (ex);
+ }
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment