-
Leonardo Aramaki authored
Close the socket if we get an error because MethodCallHelper classe keep a reference to socket and it has objects spread all over the place. Thus this may cause inconsistencies that are hard to map, so it's safer to close the socket so that the websocket thread will know and try to reconnect.
f38b854a