fix git graph not clearing

This commit is contained in:
Matthew Schott 2019-11-25 23:59:40 -05:00
parent 1bc62cfba4
commit ec742d3180

View File

@ -302,6 +302,7 @@ export const draw = function(txt, id, ver) {
try {
const parser = gitGraphParser.parser;
parser.yy = db;
parser.yy.clear();
logger.debug('in gitgraph renderer', txt + '\n', 'id:', id, ver);
// Parse the graph definition