Skip to content

Commit b0fd995

Browse files
committed
Call fireClose in WebSocketTransport
1 parent eb88f5b commit b0fd995

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

acp-ktor/src/commonMain/kotlin/com/agentclientprotocol/transport/WebSocketTransport.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ public class WebSocketTransport(private val parentScope: CoroutineScope, private
9696
}
9797

9898
override fun close() {
99-
sendChannel.close()
99+
if (sendChannel.close()) {
100+
fireClose()
101+
}
100102
}
101103
}

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
private val buildNumber: String? = System.getenv("GITHUB_RUN_NUMBER")
88
private val isReleasePublication = System.getenv("RELEASE_PUBLICATION")?.toBoolean() ?: false
99

10-
private val baseVersion = "0.12.0"
10+
private val baseVersion = "0.12.1"
1111

1212
allprojects {
1313
group = "com.agentclientprotocol"

0 commit comments

Comments
 (0)