altangent / ccxws

WebSocket client for 38 cryptocurrency exchanges
MIT License
617 stars 186 forks source link

flowcontrol: add check to unref #167

Closed bmancini55 closed 4 years ago

bmancini55 commented 4 years ago

This commit adds existance checks to the unref method calls of flowcontrol timeouts.

Flow control methods use the unref method of timeouts to prevent flowcontrol handles from keeping the process open. This feature was added in Node 0.9.1.

Fixes issue with #164