public override void TearDown() { ReaderA.Dispose(); ReaderAclone.Dispose(); ReaderB.Dispose(); ReaderX.Dispose(); DirA.Dispose(); DirB.Dispose(); base.TearDown(); }
public override void TearDown() { ReaderA.Dispose(); ReaderAclone.Dispose(); ReaderB.Dispose(); ReaderX.Dispose(); DirA.Dispose(); DirB.Dispose(); // LUCENENET specific. See <see cref="SetUp()"/>. Dispose our InfoStream and set it to null // to avoid polluting the state of other tests. FieldCache.DEFAULT.InfoStream.Dispose(); FieldCache.DEFAULT.InfoStream = null; base.TearDown(); }