fixed automatic reconnection in TCP client/server
This commit is contained in:
1 parent
0d3a8ae95c
commit
825c0bd5f7
7 files changed
+95
-49
No files matched your search
@@ -20,6 +20,7 @@ fun createTestDevice(): Pair<Transport.Device, Transport.Device> {
|
||||
val d1 = object : Transport.Device {
|
||||
override val input: ReceiveChannel<UByteArray> = p1
|
||||
override val output: SendChannel<UByteArray> = p2
|
||||
|
||||
override suspend fun close() {
|
||||
p2.close()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user