Browse Source

wkhtmltoimage: clear temp HTML files when using stdin/stdout

fixes #3498
Ashish Kulkarni 4 years ago
parent
commit
7aaa13eb65
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/lib/imageconverter.cc

+ 1 - 0
src/lib/imageconverter.cc

@@ -227,6 +227,7 @@ void ImageConverterPrivate::pagesLoaded(bool ok) {
 	loadProgress(100);
 
 	currentPhase = 2;
+	clearResources();
 	emit out.phaseChanged();
 	conversionDone = true;
 	emit out.finished(true);