IBM-Blockchain-Archive/marbles

Event hub not getting disconnected in invoke_cc.js

Open

#151 opened on Sep 29, 2017

View on GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (1,036 stars) (996 forks)batch import
bughelp wanted

Description

Eventhub is not getting disconnected in invoke_cc.js invoke_chaincode().

Once after transaction event is notified or failed/timedout, the Eventhub has to be disconnected.

This is leading SSL socket leak (i.e socket which is used to connect Eventhub) and causing NODE.JS app not getting exited properly.

Contributor guide