public void Dispose() { if (_parser != null) _parser.Dispose(); Instance = null; }
public static void NewContext(FTBufferRead bufferReader) { if (Instance == null) { Instance = new FTStreamParseContext(); Instance._bufferReader = bufferReader; Instance._parser = new FTStreamReaderForPage(bufferReader); } }