Skip to content

Commit

Permalink
Remove GTMSessionFetcher check.
Browse files Browse the repository at this point in the history
  • Loading branch information
daveddm committed Jul 16, 2024
1 parent 87ebff7 commit 9258d17
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Sources/Pulse/NetworkLogger/URLSessionProxyDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,6 @@ public final class URLSessionProxyDelegate: NSObject, URLSessionTaskDelegate, UR

private extension URLSession {
@objc class func pulse_init(configuration: URLSessionConfiguration, delegate: URLSessionDelegate?, delegateQueue: OperationQueue?) -> URLSession {
guard !String(describing: delegate).contains("GTMSessionFetcher") else {
return self.pulse_init(configuration: configuration, delegate: delegate, delegateQueue: delegateQueue)
}
configuration.protocolClasses = [URLSessionMockingProtocol.self] + (configuration.protocolClasses ?? [])
guard let sharedLogger else {
assertionFailure("Shared logger is missing")
Expand Down

0 comments on commit 9258d17

Please sign in to comment.