mirror of
https://github.com/corda/corda.git
synced 2025-02-21 09:51:57 +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() {
|
override fun close() {
|
||||||
timer.cancel()
|
timer.cancel()
|
||||||
try {
|
try {
|
||||||
rpcConnection?.close()
|
// TODO: Uncomment when https://github.com/corda/corda/issues/689 is fixed
|
||||||
|
// rpcConnection?.close()
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
log.error("Failed to close RPC connection (Error: {})", e.message)
|
log.error("Failed to close RPC connection (Error: {})", e.message)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user