grpc/grpc-swift-nio-transport

Leaking promise in CommonHTTP2ServerTransport if the transport is never started

Open

#65 opened on Jan 28, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Swift (36 forks)auto 404
good first issuekind/bugsize/S🔨 semver/patch

Repository metrics

Stars
 (41 stars)
PR merge metrics
 (PR metrics pending)

Description

It's possible to leak the promise in CommonHTTP2ServerTransport.swift on line 141 if the transport is created but never started. We should fail the promise on deinit. We can likely reuse something sensible from RuntimeError.

Contributor guide