Skip to content
This repository has been archived by the owner on Apr 18, 2022. It is now read-only.

Processs order in Dispose(bool) #14

Open
takepara opened this issue Apr 21, 2017 · 0 comments
Open

Processs order in Dispose(bool) #14

takepara opened this issue Apr 21, 2017 · 0 comments

Comments

@takepara
Copy link

Hi

PeriodicBatchinSink is disposing time call CloseAndFlush(). It is processing remain queue(call OnTick).
Because I think, LogentriesSink.Dispose(boo) is this order.

        /// <summary>
        /// Dispose the connection.
        /// </summary>
        /// <param name="disposing"></param>
        protected override void Dispose(bool disposing)
        {
            base.Dispose(disposing);

            if (_client != null)
            {
                _client.Flush();
                _client.Close();
            }
        }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant