Fix issue #15 - completed operation not removed from operation manager

This commit is contained in:
2016-12-07 18:14:31 -08:00
parent c45155811e
commit 3ae8086e8d
2 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ OperationsManager.prototype.scheduleOperationRetry = function(operation) {
};
OperationsManager.prototype.removeOperation = function(operation) {
this._activeOperations.remove(operation.connectionId);
this._activeOperations.remove(operation.correlationId);
this._logDebug("RemoveOperation SUCCEEDED for %s.", operation);
this._totalOperationCount = this._activeOperations.length + this._waitingOperations.length;
return true;