Ver Fonte

Improved stream handling

Shun Miyazawa há 1 ano atrás
pai
commit
3849c82e4e
1 ficheiros alterados com 0 adições e 3 exclusões
  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