Fixes issue #36 -- Reset _state.ext.idle.sentIdle and _state.ext.idle.timeWaited in the _reset method.

fork
Bruno Morency 13 years ago committed by Brian White
parent e77eb8af26
commit 286d2c02f4

@ -884,6 +884,9 @@ ImapConnection.prototype._reset = function() {
this._state.requests = [];
this._state.isIdle = true;
this._state.isReady = false;
this._state.ext.idle.sentIdle = false;
this._state.ext.idle.timeWaited = 0;
this.namespaces = { personal: [], other: [], shared: [] };
this.delim = null;
this.capabilities = [];

Loading…
Cancel
Save