IBM-Blockchain-Archive/marbles

Event hub not getting disconnected in invoke_cc.js

Open

#151 ouverte le 29 sept. 2017

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)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.

Guide contributeur