diff --git a/Sources/DVR/SessionDataTask.swift b/Sources/DVR/SessionDataTask.swift index 28f5c75..fe44b23 100644 --- a/Sources/DVR/SessionDataTask.swift +++ b/Sources/DVR/SessionDataTask.swift @@ -42,6 +42,10 @@ final class SessionDataTask: URLSessionDataTask { } override func resume() { + if _state == .running { + return + } + let cassette = session.cassette _state = .running