Skip to content

Conversation

@mtrezza
Copy link
Member

@mtrezza mtrezza commented Feb 26, 2023

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
Copy link

parse-github-assistant bot commented Feb 26, 2023

Thanks for opening this pull request!

  • 🎉 We are excited about your hands-on contribution!

@mtrezza mtrezza changed the title perf: Same auth delegate is unnecessarily reregistered perf: Skip registering the auth delegate if it's already registered Feb 26, 2023
@mtrezza mtrezza changed the title perf: Skip registering the auth delegate if it's already registered perf: Skip registering auth delegate if it's already registered Feb 26, 2023
@mtrezza mtrezza merged commit 6d7eadd into parse-community:master Feb 26, 2023
parseplatformorg pushed a commit that referenced this pull request Feb 26, 2023
## [2.1.1](2.1.0...2.1.1) (2023-02-26)

### Performance Improvements

* Skip registering auth delegate if it's already registered ([#1715](#1715)) ([6d7eadd](6d7eadd))
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 2.1.1

@parseplatformorg parseplatformorg added the state:released Released as stable version label Feb 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state:released Released as stable version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants