aciidgh / SwiftMQTT

MQTT Client in pure swift ❤️
MIT License
270 stars 71 forks source link

Connect in Dispatch.main.async triggers an error #25

Closed goo-zz closed 6 years ago

goo-zz commented 7 years ago

Is there a reason why the connect failed with error when I use it in an async dispatching in main thread? I got this log in the console: __nw_connection_get_connected_socket_block_invoke 1 Connection has no connected handler

adolfo commented 6 years ago

@goo please try with the latest release and reopen this ticket if you're still experiencing this issue.