From 4ea1bb9c43627edb9a31a99367a6d9ef2e832e2d Mon Sep 17 00:00:00 2001 From: Erik Little Date: Thu, 10 May 2018 07:46:38 -0400 Subject: [PATCH] Add note about manager not being thread safe --- Source/SocketIO/Manager/SocketManager.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/SocketIO/Manager/SocketManager.swift b/Source/SocketIO/Manager/SocketManager.swift index c499b1a..7434ec7 100644 --- a/Source/SocketIO/Manager/SocketManager.swift +++ b/Source/SocketIO/Manager/SocketManager.swift @@ -43,6 +43,8 @@ import Foundation /// To disconnect a socket and remove it from the manager, either call `SocketIOClient.disconnect()` on the socket, /// or call one of the `disconnectSocket` methods on this class. /// +/// **NOTE**: The manager is not thread/queue safe, all interaction with the manager should be done on the `handleQueue` +/// open class SocketManager : NSObject, SocketManagerSpec, SocketParsable, SocketDataBufferable, ConfigSettable { private static let logType = "SocketManager"