Esempio n. 1
0
        /// <summary>
        /// Dispose internal resources
        /// </summary>
        public async ValueTask DisposeAsync()
        {
            if (ReadWorker != null)
            {
                await ReadWorker.DisposeAsync().ConfigureAwait(false);

                ReadWorker = null;
            }

            await PipeStreamWrapper.DisposeAsync();
        }