Skip to content

Commit

Permalink
Fix macOS compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Jul 5, 2024
1 parent e5e169c commit e99ffb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/HummingbirdWSClient/Client/ClientConnection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public struct ClientConnection<ClientChannel: ClientConnectionChannel>: Sendable
#if canImport(Network)
/// create a NIOTransportServices bootstrap using Network.framework
private func createTSBootstrap() -> NIOTSConnectionBootstrap? {
guard let bootstrap = NIOTSConnectionBootstrap(validatingGroup: self.eventLoopGroup)
guard let bootstrap = NIOTSConnectionBootstrap(validatingGroup: self.eventLoopGroup)?
.channelOption(ChannelOptions.allowRemoteHalfClosure, value: true)
else {
return nil
Expand Down

0 comments on commit e99ffb8

Please sign in to comment.