Skip to content

Instantly share code, notes, and snippets.

@rolfbjarne
Created May 31, 2013 08:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rolfbjarne/bf77fe11dc654fb0fea9 to your computer and use it in GitHub Desktop.
Save rolfbjarne/bf77fe11dc654fb0fea9 to your computer and use it in GitHub Desktop.
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