Temp hack to fix DemoBench in master: leak the RPC connections when a node shuts down to avoid a hang.

This commit is contained in:
Mike Hearn 2017-05-19 13:05:32 +02:00
parent 77043e622d
commit 7244f2eeea

View File

@ -54,7 +54,8 @@ class NodeRPC(config: NodeConfig, start: (NodeConfig, CordaRPCOps) -> Unit, invo
override fun close() {
timer.cancel()
try {
rpcConnection?.close()
// TODO: Uncomment when https://github.com/corda/corda/issues/689 is fixed
// rpcConnection?.close()
} catch (e: Exception) {
log.error("Failed to close RPC connection (Error: {})", e.message)
}