0rpc / zerorpc-node

zerorpc for node.js
http://www.zerorpc.io
Other
705 stars 167 forks source link

Fix memory leak in channel timeout #50

Closed siboulet closed 9 years ago

siboulet commented 10 years ago

Channel was not being properly closed on channel timeout. Close was issuing flush, which wait for the channel to empty its output buffer. For a channel in timeout (or error) state, this would wait forever and leave the channel in closing state and preventing the output buffer from being freed.