Skip to content

Commit 4ea1bb9

Browse files
committed
Add note about manager not being thread safe
1 parent c3cabe4 commit 4ea1bb9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/SocketIO/Manager/SocketManager.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ import Foundation
4343
/// To disconnect a socket and remove it from the manager, either call `SocketIOClient.disconnect()` on the socket,
4444
/// or call one of the `disconnectSocket` methods on this class.
4545
///
46+
/// **NOTE**: The manager is not thread/queue safe, all interaction with the manager should be done on the `handleQueue`
47+
///
4648
open class SocketManager : NSObject, SocketManagerSpec, SocketParsable, SocketDataBufferable, ConfigSettable {
4749
private static let logType = "SocketManager"
4850

0 commit comments

Comments
 (0)