Skip to content

Commit

Permalink
Remove redundant todo comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Alec Gibson committed Feb 19, 2020
1 parent bb17e13 commit 4b3ff13
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,6 @@ Backend.prototype.connect = function(connection, req, callback) {
* (The agent is available through all middleware)
*/
Backend.prototype.listen = function(stream, req) {
// TODO: When a Connection reconnects with a persisted src, it will change the
// Agent's ID to be something different than what it had in the connection middleware
var agent = new Agent(this, stream);
this.trigger(this.MIDDLEWARE_ACTIONS.connect, agent, {stream: stream, req: req}, function(err) {
if (err) return agent.close(err);
Expand Down

0 comments on commit 4b3ff13

Please sign in to comment.