Skip to content

Commit c1cf4e9

Browse files
PWrzesinskiossus-lib
authored andcommitted
Changed autorizeContext var to weak (p2#329)
1 parent 36b154d commit c1cf4e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Base/OAuth2AuthConfig.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public struct OAuth2AuthConfig {
6767
/// Context information for the authorization flow:
6868
/// - iOS: The parent view controller to present from
6969
/// - macOS: An NSWindow from which to present a modal sheet _or_ `nil` to present in a new window
70-
public var authorizeContext: AnyObject? = nil
70+
public weak var authorizeContext: AnyObject? = nil
7171

7272
/// UI-specific configuration.
7373
public var ui = UI()

0 commit comments

Comments
 (0)