lucene-lucene-net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kelly Elias (JIRA)" <j...@apache.org>
Subject [jira] Created: (LUCENENET-378) Objects with a Close method should support IDisposable
Date Fri, 05 Nov 2010 22:08:41 GMT
Objects with a Close method should support IDisposable
------------------------------------------------------

                 Key: LUCENENET-378
                 URL: https://issues.apache.org/jira/browse/LUCENENET-378
             Project: Lucene.Net
          Issue Type: Improvement
         Environment: .NET
            Reporter: Kelly Elias


It would be very useful to have objects such as IndexSearcher and Directory support IDisposable.
Then users can use "using" blocks to manage the lifespan of the objects and don't need to
worry about accidentally leaving such objects open.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message