Skip to content

Commit

Permalink
2.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
szmarczak committed Oct 8, 2021
1 parent 444454a commit cf2386b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "http2-wrapper",
"version": "2.1.8",
"version": "2.1.9",
"description": "HTTP2 client, just with the familiar `https` API",
"main": "source",
"types": "index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion source/utils/delay-async-destroy.js
Expand Up @@ -6,7 +6,7 @@ module.exports = stream => {
}

stream.__destroy = stream._destroy;
stream._destroy = async (...args) => {
stream._destroy = (...args) => {
const callback = args.pop();

stream.__destroy(...args, async error => {
Expand Down

0 comments on commit cf2386b

Please sign in to comment.