Beispiel #1
0
            protected override void Dispose(bool disposing)
            {
                bundleOdbBackend.ReleasePackageStream(objectLocation, virtualFileStream ?? InternalStream);

                // If there was a VirtualFileStream, we don't want it to be released as it has been pushed back in the stream pool
                virtualFileStream = null;

                base.Dispose(disposing);
            }
Beispiel #2
0
            protected override void Dispose(bool disposing)
            {
                bundleOdbBackend.ReleasePackageStream(objectLocation, innerStream);

                base.Dispose(disposing);
            }