mirror of
https://github.com/corda/corda.git
synced 2024-12-27 08:22:35 +00:00
Such that they do not prevent application that started them from exiting.
(cherry picked from commit 3492350
)
This commit is contained in:
parent
3da07a1105
commit
ac6cbeca0c
@ -180,7 +180,7 @@ class RPCClientProxyHandler(
|
|||||||
ThreadFactoryBuilder().setNameFormat("rpc-client-reaper-%d").setDaemon(true).build()
|
ThreadFactoryBuilder().setNameFormat("rpc-client-reaper-%d").setDaemon(true).build()
|
||||||
)
|
)
|
||||||
sendExecutor = Executors.newSingleThreadExecutor(
|
sendExecutor = Executors.newSingleThreadExecutor(
|
||||||
ThreadFactoryBuilder().setNameFormat("rpc-client-sender-%d").build()
|
ThreadFactoryBuilder().setNameFormat("rpc-client-sender-%d").setDaemon(true).build()
|
||||||
)
|
)
|
||||||
reaperScheduledFuture = reaperExecutor!!.scheduleAtFixedRate(
|
reaperScheduledFuture = reaperExecutor!!.scheduleAtFixedRate(
|
||||||
this::reapObservablesAndNotify,
|
this::reapObservablesAndNotify,
|
||||||
|
Loading…
Reference in New Issue
Block a user