SwiftWebSocket
SwiftWebSocket copied to clipboard
Fix close error dispatching on incorrect queue
self.event.error was being dispatched on the websocket's queue, when it should be dispatched on the queue specified by the library user. Wrapping this in a fire { } call like other events resolves the issue by correctly using the specified queue.
i merged this and so far no issues