Exemple #1
0
        private bool disposedValue; // To detect redundant calls

        protected virtual void Dispose(bool disposing)
        {
            if (!disposedValue)
            {
                if (disposing)
                {
                    AuthState.Dispose();
                }

                disposedValue = true;
            }
        }
Exemple #2
0
        protected override void OnDestroy()
        {
            base.OnDestroy();

            authState.Dispose();
        }