Selaa lähdekoodia

wkhtmltoimage: clear temp HTML files when using stdin/stdout

fixes #3498
Ashish Kulkarni 4 vuotta sitten
vanhempi
commit
7aaa13eb65
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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);