commit
ebe9384604
@ -15,7 +15,7 @@
|
|||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "572EF2371B51F18A00EEBB58"
|
BlueprintIdentifier = "572EF2371B51F18A00EEBB58"
|
||||||
BuildableName = "SocketIO-Mac.framework"
|
BuildableName = "SocketIO.framework"
|
||||||
BlueprintName = "SocketIO-Mac"
|
BlueprintName = "SocketIO-Mac"
|
||||||
ReferencedContainer = "container:Socket.IO-Client-Swift.xcodeproj">
|
ReferencedContainer = "container:Socket.IO-Client-Swift.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
@ -57,7 +57,7 @@
|
|||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "572EF2371B51F18A00EEBB58"
|
BlueprintIdentifier = "572EF2371B51F18A00EEBB58"
|
||||||
BuildableName = "SocketIO-Mac.framework"
|
BuildableName = "SocketIO.framework"
|
||||||
BlueprintName = "SocketIO-Mac"
|
BlueprintName = "SocketIO-Mac"
|
||||||
ReferencedContainer = "container:Socket.IO-Client-Swift.xcodeproj">
|
ReferencedContainer = "container:Socket.IO-Client-Swift.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
@ -76,7 +76,7 @@
|
|||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "572EF2371B51F18A00EEBB58"
|
BlueprintIdentifier = "572EF2371B51F18A00EEBB58"
|
||||||
BuildableName = "SocketIO-Mac.framework"
|
BuildableName = "SocketIO.framework"
|
||||||
BlueprintName = "SocketIO-Mac"
|
BlueprintName = "SocketIO-Mac"
|
||||||
ReferencedContainer = "container:Socket.IO-Client-Swift.xcodeproj">
|
ReferencedContainer = "container:Socket.IO-Client-Swift.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
@ -94,7 +94,7 @@
|
|||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "572EF2371B51F18A00EEBB58"
|
BlueprintIdentifier = "572EF2371B51F18A00EEBB58"
|
||||||
BuildableName = "SocketIO-Mac.framework"
|
BuildableName = "SocketIO.framework"
|
||||||
BlueprintName = "SocketIO-Mac"
|
BlueprintName = "SocketIO-Mac"
|
||||||
ReferencedContainer = "container:Socket.IO-Client-Swift.xcodeproj">
|
ReferencedContainer = "container:Socket.IO-Client-Swift.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "572EF2181B51F16C00EEBB58"
|
BlueprintIdentifier = "572EF2181B51F16C00EEBB58"
|
||||||
BuildableName = "SocketIO-iOS.framework"
|
BuildableName = "SocketIO.framework"
|
||||||
BlueprintName = "SocketIO-iOS"
|
BlueprintName = "SocketIO-iOS"
|
||||||
ReferencedContainer = "container:Socket.IO-Client-Swift.xcodeproj">
|
ReferencedContainer = "container:Socket.IO-Client-Swift.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
@ -57,7 +57,7 @@
|
|||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "572EF2181B51F16C00EEBB58"
|
BlueprintIdentifier = "572EF2181B51F16C00EEBB58"
|
||||||
BuildableName = "SocketIO-iOS.framework"
|
BuildableName = "SocketIO.framework"
|
||||||
BlueprintName = "SocketIO-iOS"
|
BlueprintName = "SocketIO-iOS"
|
||||||
ReferencedContainer = "container:Socket.IO-Client-Swift.xcodeproj">
|
ReferencedContainer = "container:Socket.IO-Client-Swift.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
@ -76,7 +76,7 @@
|
|||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "572EF2181B51F16C00EEBB58"
|
BlueprintIdentifier = "572EF2181B51F16C00EEBB58"
|
||||||
BuildableName = "SocketIO-iOS.framework"
|
BuildableName = "SocketIO.framework"
|
||||||
BlueprintName = "SocketIO-iOS"
|
BlueprintName = "SocketIO-iOS"
|
||||||
ReferencedContainer = "container:Socket.IO-Client-Swift.xcodeproj">
|
ReferencedContainer = "container:Socket.IO-Client-Swift.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
@ -94,7 +94,7 @@
|
|||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "572EF2181B51F16C00EEBB58"
|
BlueprintIdentifier = "572EF2181B51F16C00EEBB58"
|
||||||
BuildableName = "SocketIO-iOS.framework"
|
BuildableName = "SocketIO.framework"
|
||||||
BlueprintName = "SocketIO-iOS"
|
BlueprintName = "SocketIO-iOS"
|
||||||
ReferencedContainer = "container:Socket.IO-Client-Swift.xcodeproj">
|
ReferencedContainer = "container:Socket.IO-Client-Swift.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
|
|||||||
@ -449,6 +449,14 @@ public final class SocketIOClient: NSObject, SocketEngineClient, SocketLogClient
|
|||||||
handlers.append(handler)
|
handlers.append(handler)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
Removes all handlers.
|
||||||
|
Can be used after disconnecting to break any potential remaining retain cycles.
|
||||||
|
*/
|
||||||
|
public func removeAllHandlers() {
|
||||||
|
handlers.removeAll(keepCapacity: false)
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Adds a handler that will be called on every event.
|
Adds a handler that will be called on every event.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user