Exemplo n.º 1
0
        private void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (AccountManager != null)
                {
                    AccountManager.Dispose();
                    AccountManager = null;
                }

                if (Daemon != null)
                {
                    if (IsDisposeSafe)
                    {
                        Daemon.DisposeSafely();
                    }
                    else
                    {
                        Daemon.Dispose();
                    }
                    Daemon = null;
                }
            }
        }