mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-26 20:55:57 +03:00
[GH-ISSUE #433] Crash of '[unowned self] #281
Labels
No labels
bug
cocoapod
duplicate
enhancement
feature-request
help wanted
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/OAuthSwift#281
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @clarkjk on GitHub (Feb 6, 2018).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/433
Description:
This appears to be related to a previous issue #276 that now exist in this new version of the code. The requestOAuthAccessToken uses [unowned self]. I suggest to use [weak self] here.
Here is my crash log:
OAuth Provider (Twitter, Github, ..):
Self Provider
OAuth Version:
OS (Please fill the version) :
Installation method:
Library version:
Xcode version:
[x ] 9.0 (Swift 4.0)
9.0 (Swift 3.2)
8.x (Swift 3.x)
8.0 (Swift 2.3)
7.3.1
other: (Please fill in the version you are using.)
objective c
@phimage commented on GitHub (Feb 6, 2018):
retainerror will be send to failure callback in this case instead of crashingthanks for the report