From 333ab7066c05273bcef6cbcd0c54914fa15a6b27 Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Tue, 19 Nov 2024 14:25:07 +0100 Subject: [PATCH] chore(libreoffice): remove non-relevant comment about old gc module --- pkg/modules/libreoffice/api/libreoffice.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pkg/modules/libreoffice/api/libreoffice.go b/pkg/modules/libreoffice/api/libreoffice.go index 3eb7796f..f8c4415b 100644 --- a/pkg/modules/libreoffice/api/libreoffice.go +++ b/pkg/modules/libreoffice/api/libreoffice.go @@ -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) }