diff --git a/src/Converter/GhostscriptConverter.php b/src/Converter/GhostscriptConverter.php index 59020dd..969794e 100644 --- a/src/Converter/GhostscriptConverter.php +++ b/src/Converter/GhostscriptConverter.php @@ -69,5 +69,7 @@ public function convert($file, $newVersion) throw new \RuntimeException("The generated file '{$tmpFile}' was not found."); $this->fs->copy($tmpFile, $file, true); + + $this->fs->remove($tmpFile); } }