소스 검색

wkhtmltoimage: clear temp HTML files when using stdin/stdout

fixes #3498
Ashish Kulkarni 4 년 전
부모
커밋
7aaa13eb65
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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);