fix orphan instances

This commit is contained in:
Adrian Zürcher
2025-12-29 17:15:52 +01:00
parent 5b20d4406c
commit 7fec8e1101
3 changed files with 31 additions and 16 deletions

View File

@@ -15,6 +15,8 @@ func Convert(chromePath, inputFile, outputFile string) error {
if err != nil {
return err
}
defer c.Close()
return c.Convert(input)
}