Actually skip LRPCChannel.close() this time
This commit is contained in:
parent
1e627b833e
commit
205e0b71e4
@ -145,6 +145,7 @@ class LRPCChannel
|
|||||||
# close closes the channel. This should not be called by the
|
# close closes the channel. This should not be called by the
|
||||||
# consumer of the channel. Use done() instead.
|
# consumer of the channel. Use done() instead.
|
||||||
def close()
|
def close()
|
||||||
|
return if @closed
|
||||||
fn = @onClose
|
fn = @onClose
|
||||||
fn()
|
fn()
|
||||||
@closed = true
|
@closed = true
|
||||||
|
Reference in New Issue
Block a user