Ejemplo n.º 1
0
        // Token: 0x060074BD RID: 29885 RVA: 0x00216424 File Offset: 0x00214624
        private bool DoCleanup()
        {
            bool flag = false;

            if (!this.IsShutDown)
            {
                flag = (this._viewManager.Purge() || flag);
                flag = (WeakEventManager.Cleanup() || flag);
                flag = (this._valueTable.Purge() || flag);
                flag = (this._commitManager.Purge() || flag);
            }
            return(flag);
        }
Ejemplo n.º 2
0
        // return true if something was actually cleaned up
        internal bool Cleanup()
        {
            bool foundDirt = false;

            if (!IsShutDown)
            {
                foundDirt = _viewManager.Purge() || foundDirt;

                foundDirt = WeakEventManager.Cleanup() || foundDirt;

                foundDirt = _valueTable.Purge() || foundDirt;

                foundDirt = _commitManager.Purge() || foundDirt;
            }

            return(foundDirt);
        }