Skip to content

Commit afcacee

Browse files
committed
use SpawnGuarded for server initial metadata too
1 parent afc5c0f commit afcacee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/lib/channel/promise_based_filter.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,10 +1330,10 @@ class V3InterceptorToV2Bridge : public ChannelFilter, public Interceptor {
13301330
// In the v3 initiator's activity, pull the metadata.
13311331
// Use an inter-activity latch to get it back to
13321332
// the v2 activity.
1333-
initiator.SpawnInfallible(
1333+
initiator.SpawnGuarded(
13341334
"pull_server_initial_metadata",
13351335
[initiator, pipe_owner]() mutable {
1336-
return Seq(
1336+
return TrySeq(
13371337
initiator.PullServerInitialMetadata(),
13381338
[pipe_owner](std::optional<ServerMetadataHandle>
13391339
metadata) {

0 commit comments

Comments
 (0)