Closed jrflat closed 3 weeks ago
The previous code expected all URLSessionWebSocketTask to have a delegate, so using a WebSocket task from URLSession.shared caused a fatalError. This PR updates that expectation so that having a delegate is not enforced.
URLSessionWebSocketTask
URLSession.shared
fatalError
Resolves #4730
@swift-ci please test
The previous code expected all
URLSessionWebSocketTask
to have a delegate, so using a WebSocket task fromURLSession.shared
caused afatalError
. This PR updates that expectation so that having a delegate is not enforced.Resolves #4730