+2003-11-11 Lluis Sanchez Gual <lluis@ximian.com>
+
+ * RemotingProxy.cs: Do not dispose proxy identity when it is a local
+ ContextBoundObject proxy.
+
2003-10-21 Lluis Sanchez Gual <lluis@ximian.com>
* RealProxy.cs: In PrivateInvoke() do not try to return the out parameters
if (mMsg.CallType == CallType.EndInvoke)
return mMsg.AsyncResult.EndInvoke ();
-
+
if (mMsg.MethodBase.IsConstructor)
return ActivateRemoteObject (mMsg);
else
_targetUri = identity.ObjectUri;
- if (_objectIdentity.EnvoySink != null)
+ if (_objectIdentity.EnvoySink != null)
{
_sink = _objectIdentity.EnvoySink;
_hasEnvoySink = true;
~RemotingProxy()
{
if (_objectIdentity != null)
- RemotingServices.DisposeIdentity (_objectIdentity);
+ {
+ if (!(_objectIdentity is ClientActivatedIdentity)) // Local CBO proxy?
+ RemotingServices.DisposeIdentity (_objectIdentity);
+ }
}
}