Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brianquinlan committed Oct 22, 2024
1 parent 26d7753 commit 0bbc612
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,4 @@ typedef void (^_DidFinishWithLock)(NSCondition *lock, NSURLSession *session,
/// make an async Dart callback behave synchronously.
_DidFinish adaptFinishWithLock(_DidFinishWithLock block);

void doNotCall() {
// TODO(https://github.com/dart-lang/native/issues/1672): Remove
// when fixed.
// Force the protocol information to be available at runtime.
@protocol (NSURLSessionDataDelegate);
@protocol (NSURLSessionDownloadDelegate);
@protocol (NSURLSessionWebSocketDelegate);
}
void doNotCall();
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,12 @@ _DidFinish adaptFinishWithLock(_DidFinishWithLock block) {
[lock unlock];
};
}

void doNotCall() {
// TODO(https://github.com/dart-lang/native/issues/1672): Remove
// when fixed.
// Force the protocol information to be available at runtime.
@protocol (NSURLSessionDataDelegate);
@protocol (NSURLSessionDownloadDelegate);
@protocol (NSURLSessionWebSocketDelegate);
}

0 comments on commit 0bbc612

Please sign in to comment.