Commit 5d2ddea6 authored by Jens Georg's avatar Jens Georg

Clear ACDSEE tag transformer

The transformer was only created once, but the result variable wasn't
cleared between calls, thus piling up the tags from all images

Fixes #89
Fixes #75
parent 38ef40ca
Pipeline #61857 passed with stage
in 9 minutes and 15 seconds
......@@ -70,6 +70,8 @@ public class ACDSeeKeywordTransformer : KeywordTransformer {
}
public override Gee.List<string> transform (string input) throws Error {
this.stack.clear();
this.result.clear();
var ctx = new MarkupParseContext (this.parser, 0, this, null);
ctx.parse (input, input.length);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment