Skip to content

Commit

Permalink
Add shutdown method to DropboxClient objc wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlocke committed Jun 6, 2024
1 parent aee63b4 commit d75cd01
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,10 @@ public class DBXDropboxClient: DBXDropboxBase {
completion(objcs)
}
}

/// Cancels all tasks and invalidates all network sessions
@objc
public func shutdown() {
subSwift.shutdown()
}
}

0 comments on commit d75cd01

Please sign in to comment.