Skip to content

Commit 25d2284

Browse files
committed
Only revert acquireConnection StableRef disposal
1 parent c41c2e7 commit 25d2284

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

aws-crt-kotlin/native/src/aws/sdk/kotlin/crt/http/HttpClientConnectionManagerNative.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ public actual class HttpClientConnectionManager actual constructor(
157157
actual override fun close() {
158158
if (closed.compareAndSet(false, true)) {
159159
aws_http_connection_manager_release(manager)
160+
shutdownCompleteStableRef.dispose()
160161
}
161162
}
162163
}

0 commit comments

Comments
 (0)