Fixes a memory leak.
svn path=/trunk/mcs/; revision=18724
+2003-10-08 Lluis Sanchez Gual <lluis@ximian.com>
+
+ * RemotingProxy.cs: Added destructor that unregisters the identity.
+ Fixes a memory leak.
+
2003-10-07 Lluis Sanchez Gual <lluis@ximian.com>
* RealProxy.cs: Fixed support for [out] parameters in async calls.
_ctorCall.CopyFrom (request);
return ActivationServices.Activate (this, _ctorCall);
}
+
+ ~RemotingProxy()
+ {
+ if (_objectIdentity != null)
+ RemotingServices.DisposeIdentity (_objectIdentity);
+ }
+
}
}