feat: add more PDF formats, drastically improve LibreOffice long-running instance management

This commit is contained in:
Julien Neuhart
2022-02-07 18:28:58 +01:00
parent 3d855712ee
commit 24817d5707
34 changed files with 3883 additions and 2377 deletions

View File

@@ -83,7 +83,7 @@ func (engine PDFtk) Merge(ctx context.Context, logger *zap.Logger, inputPaths []
activeInstancesCount += 1
activeInstancesCountMu.Unlock()
err = cmd.Exec()
_, err = cmd.Exec()
activeInstancesCountMu.Lock()
activeInstancesCount -= 1