lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Björn Kremer <...@patorg.de>
Subject [Lucene.Net] SpellChecker Bug
Date Thu, 03 Nov 2011 10:33:40 GMT
Hello,

there is a little bug in the SpellChecker.cs class. The finalizer of 
this class calls the close method even if the SpellChecker is already 
closed. This causes an unhandled exception.

This should work better:
     ~SpellChecker()
       {
          if (closed == false)
          {
             this.Close();
          }
       }

Thank You
Björn

Mime
View raw message