Fix issue #15 - completed operation not removed from operation manager
This commit is contained in:
parent
c45155811e
commit
3ae8086e8d
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "eventstore-node",
|
||||
"version": "0.0.18",
|
||||
"version": "0.0.19",
|
||||
"description": "A port of the EventStore .Net ClientAPI to Node.js",
|
||||
"main": "index.js",
|
||||
"types": "index.d.ts",
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user