Beispiel #1
0
        public override void Close()
        {
            if (null != storage)
            {
#if DEBUG
#endif
                storage.Release();
                storage = null;
            }
        }
Beispiel #2
0
        public override void Close()
        {
            if (null != storage)
            {
#if DEBUG
                InternalDebug.Assert(storage.Length == 0 || storage.Length == position);
                storage.SignalWriteStreamClose();
#endif
                storage.Release();
                storage = null;
            }

            base.Close();
        }