Release ObjectReader before the cached ObjectDatabase
commite01abbd543e28f3162b24ade5586a9644dedf4e8
authorShawn O. Pearce <spearce@spearce.org>
Mon, 28 Jun 2010 16:47:20 +0000 (28 09:47 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 28 Jun 2010 16:47:20 +0000 (28 09:47 -0700)
tree3e60ba7f0af7e9661bf9c3c1cf05b3e3d5baed7d
parentb40f02eb1a2444e4a15ac4d5faef28ae8398f02d
Release ObjectReader before the cached ObjectDatabase

I don't want to play games with the order of release here, its
probably safer to release the reader before the database, just
in case the one depends on the other.

Change-Id: I2394c7d2477eaf7a7e1556fc3393c59d3b31e764
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit/src/org/eclipse/jgit/transport/IndexPack.java