Sfoglia il codice sorgente

Improved stream handling

Shun Miyazawa 1 anno fa
parent
commit
3849c82e4e
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 3
      apps/app/src/server/service/attachment.js

+ 0 - 3
apps/app/src/server/service/attachment.js

@@ -92,9 +92,6 @@ class AttachmentService {
         catch (err) {
           logger.error('Error in stream processing:', err);
         }
-        finally {
-          readStreamForHandler.destroy();
-        }
       });
 
       // Do not await, run in background