public override void Dispose() { frontend.disposed = true; System.Runtime.Remoting.RemotingServices.Disconnect(frontend); if (editSession != null) { editSession.Dispose(); } editSession = null; base.Dispose(); }
protected override void OnDestroyed() { frontend.disposed = true; System.Runtime.Remoting.RemotingServices.Disconnect(frontend); if (editSession != null) { editSession.Dispose(); } editSession = null; base.OnDestroyed(); }