Skip to content
Open
Show file tree
Hide file tree
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 Sources/Socket/Socket.swift
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ public class Socket: SocketReader, SocketWriter {
///
/// The delegate that provides the SSL implementation.
///
public var delegate: SSLServiceDelegate? = nil {
public weak var delegate: SSLServiceDelegate? = nil {

didSet {

Expand Down
2 changes: 1 addition & 1 deletion Sources/Socket/SocketProtocols.swift
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public protocol SocketWriter {
///
/// SSL Service Delegate Protocol
///
public protocol SSLServiceDelegate {
public protocol SSLServiceDelegate : class {

///
/// Initialize SSL Service
Expand Down