Skip to content

Commit

Permalink
Allow stopReconnectingTimeout to be reset if already fired.
Browse files Browse the repository at this point in the history
  • Loading branch information
halter73 committed Dec 3, 2012
1 parent c1e8e68 commit aeda33f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
Expand Up @@ -95,6 +95,7 @@
stopReconnectingTimeout = window.setTimeout(function () {
connection.log(connection.disconnectTimeout + "ms have passed without successfully reconnecting. Disconnecting.");
connection.stop(/* async */ false, /* notifyServer */ false);
stopReconnectingTimeout = null;
}, connection.disconnectTimeout);
}
});
Expand Down

0 comments on commit aeda33f

Please sign in to comment.