Fix potential error handling bug due to missing EventEmitter.call(this) in EventStoreNodeConnection and EventStoreConnectionLogicHandler

This commit is contained in:
2018-01-17 11:29:24 -08:00
parent 8997a8c398
commit 67dd275b5d
2 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,7 @@ const ClientVersion = 1;
* @property {Number} totalOperationCount
*/
function EventStoreConnectionLogicHandler(esConnection, settings) {
EventEmitter.call(this);
this._esConnection = esConnection;
this._settings = settings;
this._queue = new SimpleQueuedHandler();