Skip to content

Commit aed1325

Browse files
authored
kn: initialize CRT in TlsContext (#140)
1 parent 3cd6fda commit aed1325

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/io/TlsContextNative.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import kotlinx.cinterop.*
1515
import libcrt.*
1616

1717
public actual class TlsContext actual constructor(options: TlsContextOptions?) :
18+
WithCrt(),
1819
NativeHandle<aws_tls_ctx>,
1920
Closeable {
2021
private val tlsCtxOpts: aws_tls_ctx_options = Allocator.Default.alloc()

0 commit comments

Comments
 (0)