Explorar el Código

wkhtmltoimage: clear temp HTML files when using stdin/stdout

fixes #3498
Ashish Kulkarni hace 4 años
padre
commit
7aaa13eb65
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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);