jpountz commented on PR #14438:
URL: https://github.com/apache/lucene/pull/14438#issuecomment-2778028781

   Unfortunately, you can't easily use close() to release resources from a 
Decompressor, because `StoredFieldsReader` is cloneable, and close() is never 
called on the clones. The only workaround that comes to mind would consist of 
using thread-locals, but I don't think we want to support that.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to