IBM-Blockchain-Archive/marbles

Event hub not getting disconnected in invoke_cc.js

Open

#151 geöffnet am 29. Sept. 2017

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (996 Forks)batch import
bughelp wanted

Repository-Metriken

Stars
 (1.036 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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