Skip to content

Commit

Permalink
Delete unnecesary variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jmillan committed Feb 27, 2013
1 parent 3e5640e commit 87c9b5a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Session.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,6 @@ Session.prototype.close = function() {
return;
}

var session = this;

console.log(LOG_PREFIX +'closing INVITE session ' + this.id);

// 1st Step. Terminate media.
Expand All @@ -213,7 +211,7 @@ Session.prototype.close = function() {
this.terminateConfirmedDialog();
this.status = C.STATUS_TERMINATED;

delete this.ua.sessions[session.id];
delete this.ua.sessions[this.id];
};

/*
Expand Down

0 comments on commit 87c9b5a

Please sign in to comment.