Skip to content

Commit

Permalink
Fixed issue with scope
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeFoodPixels committed Mar 12, 2015
1 parent dbfa76c commit 48054b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ hangouts.prototype.init = function(){
}

hangouts.prototype.exit = function(){
if (self.connection) {
self.connection.end();
if (this.connection) {
this.connection.end();
}
}

Expand Down

0 comments on commit 48054b6

Please sign in to comment.