Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 056a3af

Browse files
committed
Remove res.destroy since req.abort does it automagically
1 parent 162cd97 commit 056a3af

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/api/pubsub.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ module.exports = (send, config) => {
6565
})
6666
rs.cancel = () => {
6767
request.abort()
68-
response.destroy()
6968
activeSubscriptions = removeSubscription(activeSubscriptions, topic)
7069
}
7170
})

0 commit comments

Comments
 (0)