weak in protocols do nothing

This commit is contained in:
Erik Little 2017-09-16 10:04:59 -04:00
parent 0516d3555a
commit d8104f4bf8
No known key found for this signature in database
GPG Key ID: 4930B7C5FBC1A69D

View File

@ -29,7 +29,7 @@ import StarscreamSocketIO
/// Specifies a SocketEngine. /// Specifies a SocketEngine.
@objc public protocol SocketEngineSpec { @objc public protocol SocketEngineSpec {
/// The client for this engine. /// The client for this engine.
weak var client: SocketEngineClient? { get set } var client: SocketEngineClient? { get set }
/// `true` if this engine is closed. /// `true` if this engine is closed.
var closed: Bool { get } var closed: Bool { get }