Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanWalker committed Jul 3, 2024
1 parent a03c1f6 commit 9f00217
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/nativescript-websockets/bridge.ios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export class NativeBridge extends NativeBridgeDefinition {
const webSocket = RCTSRWebSocket.alloc().initWithURLRequestProtocols(request, protocols);
this.nativeSocket = webSocket;
this.delegate = RCTSRWebSocketDelegateImpl.initWithOwner(this);
// @ts-expect-error
webSocket.setDelegateDispatchQueue(dispatch_get_current_queue());
webSocket.delegate = this.delegate;
webSocket.open();
Expand Down

0 comments on commit 9f00217

Please sign in to comment.