diff --git a/src/abstract-parser.ts b/src/abstract-parser.ts index 0fa4459..3ba61e1 100644 --- a/src/abstract-parser.ts +++ b/src/abstract-parser.ts @@ -88,6 +88,10 @@ export abstract class CommerceMlAbstractParser { return this.parser; } + public destroy(): void { + this.parser.destroy(); + } + /** * SAX 'opentag' event handler. * @param tag