This repository was archived by the owner on Aug 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
VimeoClient init creates memory leak #430
Copy link
Copy link
Open
Description
Using Debug Memory Graph in Xcode I noticed that whenever I create VimeoClient, it creates memory leak in the app. To confirm if this is not because my app creates that, I created dummy app with just one UIViewController and with this test code:
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
let appConfiguration = AppConfiguration(
clientIdentifier: Constant.VIMEO_CLIENT_IDENTIFIER,
clientSecret: Constant.VIMEO_CLIENT_SECRETS,
scopes: [.Public, .Private, .Interact, .Create, .Delete, .Edit],
keychainService: Constant.VIMEO_KEYCHAIN_SERVICE)
let vimeoClient = VimeoClient(appConfiguration: appConfiguration)
let authenticationController = AuthenticationController(client: vimeoClient, appConfiguration: appConfiguration) { (vimeoSessionManager) -> VimeoSessionManager in
return vimeoSessionManager
}
}
}
This is what I get in Memory Graph after running the app:
Any ideas what can cause that or maybe my implementation is wrong ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
