You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "paulirwin (via GitHub)" <gi...@apache.org> on 2026/06/22 22:27:37 UTC

Re: [PR] Fix IndexWriter.Dispose leaking file handles, #1284 [lucenenet]

paulirwin commented on code in PR #1311:
URL: https://github.com/apache/lucenenet/pull/1311#discussion_r3455820039


##########
src/Lucene.Net.Tests/Search/TestControlledRealTimeReopenThread.cs:
##########
@@ -478,7 +478,7 @@ public override void Run()
                 }
                 finally
                 {
-                    latch.Reset(latch.CurrentCount == 0 ? 0 : latch.CurrentCount - 1); // let the add below finish

Review Comment:
   Updated to use the J2N type.



-- 
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: dev-unsubscribe@lucenenet.apache.org

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