Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed a memory leak related to authorizeContext #329

Merged
merged 1 commit into from
Nov 4, 2019

Conversation

PWrzesinski
Copy link
Contributor

@PWrzesinski PWrzesinski commented Oct 26, 2019

Changed autorizeContext var to weak in order to prevent a reference cycle: NSWindow holding an OAuth2CodeGrant and at the same time being provided as it's authorizeContext (authConfig.authorizeContext).

@ossus-lib ossus-lib merged commit c1cf4e9 into p2:master Nov 4, 2019
ajandrade added a commit to sensational/OAuth2 that referenced this pull request Oct 14, 2020
* commit '0efd11a669aba0f7c8ed2946e93757bb3dfdd6a6':
  Update Travis config
  Update project settings and CHANGELOG
  Improve documentation
  Fix compilation errors and warnings from PKCE merge
  Add refresh uri setting (p2#330)
  Mac Catalyst support (p2#328)
  Changed autorizeContext var to weak (p2#329)
  Add PKCE support (p2#324)
  Update Swift package manager configuration (p2#322)
  Update to Swift 5
  Fix compile errors with Swift 5 (p2#313)
  Update README.md
  Add support for Authentication Session (p2#305)
  Update version in sample configurations of the README to 4.2
  Use bundler for generating docs
  Set podspec version to 4.2.0
  Add compiler flag to disable UIApplication calls (p2#280)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants