grpc/grpc-swift-nio-transport
View on GitHubLeaking promise in CommonHTTP2ServerTransport if the transport is never started
Open
#65 opened on Jan 28, 2025
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.