parse-community / Parse-SDK-iOS-OSX

The Apple SDK for Parse Platform (iOS, macOS, watchOS, tvOS)
https://parseplatform.org
Other
2.81k stars 865 forks source link

perf: Skip registering auth delegate if it's already registered #1715

Closed mtrezza closed 1 year ago

mtrezza commented 1 year ago

New Pull Request Checklist

Issue Description

When registering the same auth delegate again, it is actually fully re-registered in the SDK.

Closes: #n/a

Approach

Don't register same auth delegate again if its already registered. Instead just do nothing.

parse-github-assistant[bot] commented 1 year ago

Thanks for opening this pull request!

parseplatformorg commented 1 year ago

🎉 This change has been released in version 2.1.1