Skip to content

Commit 63c0b5e

Browse files
committed
grpc: Fix context not set
Signed-off-by: Johannes Zottele <[email protected]>
1 parent 265c57b commit 63c0b5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grpc/grpc-core/src/commonMain/kotlin/kotlinx/rpc/grpc/internal/suspendServerCalls.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ private fun <Request, Response> CoroutineScope.serverCallListenerImpl(
167167
grpcContext = context.grpcContext,
168168
)
169169

170-
val rpcJob = launch() {
170+
val rpcJob = launch(context) {
171171
val mutex = Mutex()
172172
val headersSent = AtomicBoolean(false) // enforces only sending headers once
173173
val failure = runCatching {

0 commit comments

Comments
 (0)