chore(libreoffice): remove non-relevant comment about old gc module

This commit is contained in:
Julien Neuhart
2024-11-19 14:25:07 +01:00
parent 66dbdc09b5
commit 333ab7066c

View File

@@ -365,13 +365,6 @@ func (p *libreOfficeProcess) pdf(ctx context.Context, logger *zap.Logger, inputP
return ErrRuntimeException
}
// Possible errors:
// 1. LibreOffice failed for some reason.
// 2. Context done.
//
// On the second scenario, LibreOffice might not have time to remove some
// of its temporary files, as it has been killed without warning. The
// garbage collector will delete them for us (if the module is loaded).
return fmt.Errorf("convert to PDF: %w", err)
}