Skip to content

Commit

Permalink
Fix. Delete session from UA sessions collection when closing
Browse files Browse the repository at this point in the history
  • Loading branch information
jmillan committed Feb 27, 2013
1 parent 7370e06 commit cc97fee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Session.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ Session.prototype.close = function() {
this.terminateEarlyDialogs();
this.terminateConfirmedDialog();
this.status = C.STATUS_TERMINATED;

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

Expand Down

0 comments on commit cc97fee

Please sign in to comment.