IBM-Blockchain-Archive/marbles

Event hub not getting disconnected in invoke_cc.js

Open

#151 aperta il 29 set 2017

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (996 fork)batch import
bughelp wanted

Metriche repository

Star
 (1036 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor