[GH-ISSUE #256] OAuth swift listener not removed after closing presented window #148

Closed
opened 2026-03-03 16:46:06 +03:00 by kerem · 0 comments
Owner

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()

  • OS targeted (with version): OSX
  • OAuthSwift version: head
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()` - **OS targeted (with version):** OSX - **OAuthSwift version:** head
kerem closed this issue 2026-03-03 16:46:07 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/OAuthSwift#148
No description provided.