protected virtual void Dispose()

in src/AWS.Logger.SeriLog/AWSSink.cs [81:99]


        protected virtual void Dispose(bool disposing)
        {
            if (!disposedValue)
            {
                if (disposing)
                {
                    try
                    {
                        _core.Close();
                    }
                    catch (Exception)
                    {
                        // .. and as ugly as THIS is, .Dispose() methods shall not throw exceptions
                    }
                }

                disposedValue = true;
            }
        }