microsoft / azure-pipelines-extensions

Collection of all RM and deployment extensions
http://www.visualstudio.com/explore/release-management-vs
MIT License
275 stars 425 forks source link

Add zipStream destroy call when response is aborted #1200

Closed ivanduplenskikh closed 9 months ago

ivanduplenskikh commented 9 months ago

Added zipStream destroy call when the response is aborted.

This is needed when there is a network problem HTTP request can be aborted and reject can't be handled in on("error") listener

The destroy method is added so it can emit an 'error' event