projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a929787
)
Added call to GC.SupressFinalize() in CFObject.Dispose()
author
Jeffrey Stedfast
<jeff@xamarin.com>
Wed, 9 May 2012 18:46:38 +0000
(14:46 -0400)
committer
Jeffrey Stedfast
<jeff@xamarin.com>
Wed, 9 May 2012 18:47:20 +0000
(14:47 -0400)
mcs/class/System/System.Net/MacProxy.cs
patch
|
blob
|
history
diff --git
a/mcs/class/System/System.Net/MacProxy.cs
b/mcs/class/System/System.Net/MacProxy.cs
index 3e487f2fc6952ff30088be383e88ca9d5d02b0df..f213b0d29e156704baef9450a37558a6cf578564 100644
(file)
--- a/
mcs/class/System/System.Net/MacProxy.cs
+++ b/
mcs/class/System/System.Net/MacProxy.cs
@@
-88,7
+88,7
@@
namespace System.Net
CFRelease (Handle);
}
- void Dispose (bool disposing)
+
protected virtual
void Dispose (bool disposing)
{
if (Handle != IntPtr.Zero) {
Release ();
@@
-99,6
+99,7
@@
namespace System.Net
public void Dispose ()
{
Dispose (true);
+ GC.SuppressFinalize (this);
}
}