Example #1
0
        public void Dispose()
        {
            if (IsDisposed)
            {
                return;
            }

            Collection.Untrack(this);

            // FIXME
            _HeldBy    = null;
            IsDisposed = true;
        }
Example #2
0
        public void Dispose()
        {
            if (IsDisposed)
            {
                return;
            }

            // FIXME
            _HeldBy    = null;
            IsDisposed = true;

            if (_IsTracked)
            {
                Collection.Untrack(WeakSelf);
            }
        }