Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix: _reconnectTimer treated as a browser timer object, not Timer class

  • Loading branch information...
commit e0dd4b69ccccad471d59eb075e27c86a474ed95f 1 parent 9b2b2f3
@andreyvit andreyvit authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/connector.coffee
View
2  src/connector.coffee
@@ -42,7 +42,7 @@ exports.Connector = class Connector
return if @_isSocketConnected()
# prepare for a new connection
- clearTimeout @_reconnectTimer if @_reconnectTimer
+ @_reconnectTimer.stop()
@_disconnectionReason = 'cannot-connect'
@protocolParser.reset()
Please sign in to comment.
Something went wrong with that request. Please try again.