Lucene.Net.Analysis.Tokenizer.Dispose C# (CSharp) Method

Dispose() public method

{@inheritDoc}

NOTE: The default implementation closes the input Reader, so be sure to call super.close() when overriding this method.

public Dispose ( ) : void
return void
        public override void Dispose()
        {
            input.Dispose();
            // LUCENE-2387: don't hold onto Reader after close, so
            // GC can reclaim
            InputPending = ILLEGAL_STATE_READER;
            input = ILLEGAL_STATE_READER;
        }