Please sign in to comment.
Fix two bugs:
- xhPollTimer was not cleared on disconnect, meaning subsequent reconnect attempts would introduce multiple poll timers (bad) - xhrNextParsePos was not correctly reset on disconnect, due to using 'this.' - remember, in onReadyStateChange, 'this.' refers to the XHR object, *not* the chat instance.
- Loading branch information...