problem: call already closed exception, onError closes it
This commit is contained in:
@@ -59,7 +59,6 @@ class StreamHead(
|
||||
val sender = StreamSender(client)
|
||||
if (!clients.containsKey(chain)) {
|
||||
client.onError(Exception("Chain ${chain.chainCode} is not available for streaming"))
|
||||
client.onCompleted()
|
||||
return
|
||||
}
|
||||
clients[chain]!!.add(sender)
|
||||
|
||||
Reference in New Issue
Block a user