El lun, 31-10-2005 a las 04:48 -0800, Svetlana Zholkovsky escribió:
> Index: ServerIdentity.cs
> ===================================================================
> --- ServerIdentity.cs   (revision 51552)
> +++ ServerIdentity.cs   (working copy)
> @@ -103,6 +103,8 @@
>  
>                 public void AttachServerObject (MarshalByRefObject
> serverObject, Context context)
>                 {
> +                       DisposeServerObject();
> +
>                         _context = context;
>                         _serverObject = serverObject;
>                         
> @@ -143,6 +145,7 @@
>                         if (_serverObject != null) {
>                                 _serverObject.ObjectIdentity = null;
>                                 _serverObject = null;
> +                               _serverSink = null;
>                         }
>                 }
>         }
> 

I feel that DisposeServerObject call should not be necessary since it is
already called in OnLifetimeExpired. But well, it doesn't hurt. Feel
free to commit.

Thanks!
Lluis.

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to