Skip to content

Commit

Permalink
Added destroy method.
Browse files Browse the repository at this point in the history
  • Loading branch information
dobromyslov committed Aug 12, 2020
1 parent 64d508d commit f820a2f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/abstract-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ export abstract class CommerceMlAbstractParser {
return this.parser;
}

public destroy(): void {
this.parser.destroy();
}

/**
* SAX 'opentag' event handler.
* @param tag
Expand Down

0 comments on commit f820a2f

Please sign in to comment.