Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

fix circular reference when using WebSocketDelegate #139

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Source/WebSocket.swift
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ private class InnerWebSocket: Hashable {
var _allowSelfSignedSSL = false
var _services = WebSocketService.None
var _event = WebSocketEvents()
var _eventDelegate: WebSocketDelegate?
weak var _eventDelegate: WebSocketDelegate?
var _binaryType = WebSocketBinaryType.uInt8Array
var _readyState = WebSocketReadyState.connecting
var _networkTimeout = TimeInterval(-1)
Expand Down