Ejemplo n.º 1
0
        public override async Task OnCloseAsync(TimeSpan timeout)
        {
            TimeoutHelper timeoutHelper = new TimeoutHelper(timeout);

            if (_rstChannelFactory != null)
            {
                await _rstChannelFactory.CloseHelperAsync(timeout);

                _rstChannelFactory = null;
            }

            await base.OnCloseAsync(timeoutHelper.RemainingTime());
        }