From f9360fc94f3e1c9c3db14bbcea23cb608698e1e8 Mon Sep 17 00:00:00 2001 From: Erik Little Date: Wed, 11 Oct 2017 08:28:12 -0400 Subject: [PATCH] Add note about queue type --- Cartfile.resolved | 2 +- Source/SocketIO/Client/SocketIOClient.swift | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cartfile.resolved b/Cartfile.resolved index 8dff7a8..2e209cd 100644 --- a/Cartfile.resolved +++ b/Cartfile.resolved @@ -1,3 +1,3 @@ +github "daltoniam/Starscream" "3.0.2" github "daltoniam/common-crypto-spm" "1.1.0" github "daltoniam/zlib-spm" "1.1.0" -github "daltoniam/Starscream" "3.0.2" diff --git a/Source/SocketIO/Client/SocketIOClient.swift b/Source/SocketIO/Client/SocketIOClient.swift index 6acb536..50c8aa7 100644 --- a/Source/SocketIO/Client/SocketIOClient.swift +++ b/Source/SocketIO/Client/SocketIOClient.swift @@ -41,6 +41,8 @@ open class SocketIOClient : NSObject, SocketIOClientSpec, SocketEngineClient, So /// The queue that all interaction with the client should occur on. This is the queue that event handlers are /// called on. + /// + /// **This should be a serial queue! Concurrent queues are not supported and might cause crashes and races**. @objc public var handleQueue = DispatchQueue.main