mirror of
https://github.com/corda/corda.git
synced 2025-02-20 09:26:41 +00:00
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:
parent
77043e622d
commit
7244f2eeea
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user