Skip to content

Commit

Permalink
fix(SenderLink): delete unsettled send on disposition
Browse files Browse the repository at this point in the history
Setting the value to undefined maintains the property on the
_unsettledSends object.
  • Loading branch information
mbroadst committed Nov 5, 2015
1 parent 7dbee49 commit 5453362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sender_link.js
Expand Up @@ -233,7 +233,7 @@ SenderLink.prototype._dispositionReceived = function(details) {
}

this._unsettledSends[messageId](err, details.state);
this._unsettledSends[messageId] = undefined;
delete this._unsettledSends[messageId];
}
};

Expand Down

0 comments on commit 5453362

Please sign in to comment.