Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Abandoned
-
Lucene.Net 4.8.0
-
None
-
None
Description
When overriding Dispose(bool) in either TokenStream subclasses, Lucene.Net will call Dispose() before it is done using the TokenStream, and call IncrementToken() again.
The behavior can be observed in the Lucene.Net.Collation.TestICUCollationKeyFilter.TestCollationKeySort() when the ICUCollationKeyFilter implements Dispose().
Attachments
Issue Links
- Is contained by
-
LUCENENET-626 API: Review to ensure IDisposable is being used correctly and disposable pattern implemented correctly
- Closed