yehya / express-longpoll

Lightweight long polling for express.js
ISC License
33 stars 13 forks source link

Handling array middleware case, fix eventemitter memory leak #8

Closed gin1231 closed 4 years ago

gin1231 commented 5 years ago

This pull request includes two commits.

b42cdb8 handles case of array middleware. 1ff2bc0 handles eventemitter memory leak when using req.id to use publishToId.

It will be thankful if you check and test this pull request.

Thank you for good library to use.

yehya commented 4 years ago

Added in https://github.com/yehya/express-longpoll/commit/52481c7fe64321e7c0722db47591643f8ea979a3

The memory leak was fixed previously,

Thanks for the pull request @gin1231