-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[ios, macos] Expose the url session configuration object. #13886
Conversation
c483816
to
3ae974c
Compare
3ae974c
to
87345bb
Compare
87345bb
to
6d5814d
Compare
}); | ||
}; | ||
if (![[NSThread currentThread] isMainThread]) { | ||
dispatch_sync(dispatch_get_main_queue(), ^{ | ||
// This is a temporary fix to avoid a dead lock |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will be removed once this #13754 lands.
6d5814d
to
5382d59
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thanks!
will not affect the behavior of that session. | ||
|
||
*/ | ||
@property (strong, null_resettable) NSURLSessionConfiguration *sessionConfiguration; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since you're using @synchronized
below, what do you think to marking this as atomic
? (essentially documentation)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I am. @atomic
is the default property if @nonatomic
is not present. I can add it to make it clear tho.
Awesome! Thank you very much! |
Fixes #12026