mirror of
https://github.com/corda/corda.git
synced 2025-02-20 17:33:15 +00:00
[CORDA-3151] Fixed bug where observable leaks on ctrl+c interrupt while waiting in stateMachinesFeed. (#5458)
This commit is contained in:
parent
187be4c919
commit
3b941af607
@ -474,6 +474,7 @@ object InteractiveShell {
|
||||
try {
|
||||
result = result.get()
|
||||
} catch (e: InterruptedException) {
|
||||
subscriber.unsubscribe()
|
||||
Thread.currentThread().interrupt()
|
||||
} catch (e: ExecutionException) {
|
||||
throw e.rootCause
|
||||
|
Loading…
x
Reference in New Issue
Block a user