Kaynağa Gözat

Improved stream handling

Shun Miyazawa 1 yıl önce
ebeveyn
işleme
3849c82e4e
1 değiştirilmiş dosya ile 0 ekleme ve 3 silme
  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