예제 #1
0
        protected override void Dispose()
        {
            if (cache != null && cache is IDisposable)
            {
                ((IDisposable)cache).Dispose();
            }

            cache    = null;
            pushSink = null;
            pullSink = null;

            base.Dispose();
        }
예제 #2
0
        protected override void Dispose()
        {
            if (this.cache != null && this.cache is IDisposable)
            {
                ((IDisposable)this.cache).Dispose();
            }

            this.cache    = null;
            this.pushSink = null;
            this.pullSink = null;

            base.Dispose();
        }