Uploaded image for project: 'Lucene.Net'
  1. Lucene.Net
  2. LUCENENET-378

Objects with a Close method should support IDisposable

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            razordreamz Kelly Elias
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: