fhqvst / avanza

A JavaScript client for the unofficial Avanza API
MIT License
229 stars 59 forks source link

Disconnect() must set this._socketConnected = false #21

Closed ausrasul closed 6 years ago

ausrasul commented 6 years ago

If this._socketConnected = true we will attempt to send /meta/subscribe before socket is up upon next call to subscribe() (which in turn happens after next call to authenticate()).

fhqvst commented 6 years ago

Great, thanks!