mirror of
https://github.com/OAuthSwift/OAuthSwift.git
synced 2026-04-27 13:15:55 +03:00
[GH-ISSUE #256] OAuth swift listener not removed after closing presented window #148
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#148
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 @phimage on GitHub (Jul 28, 2016).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/256
Same as #223, if we close the presented web view controller on OSX and we close the window (using the cross button), then there is no remove of the listeners, and next time, many callback will be fired
So we must detect the window close (or web view controller dismissal) to call in parent view controller
oauthswift.cancel()