Skip to content

Commit

Permalink
Merge pull request #835 from uProxy/salomegeo-generic-core
Browse files Browse the repository at this point in the history
do not reset myInstance to null
  • Loading branch information
salomegeo committed Feb 2, 2015
2 parents 62d3e90 + 8df381d commit b4d6407
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/generic_core/social.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ describe('Social.FreedomNetwork', () => {
jasmine.clock().tick(5000);
expect(friend.monitor).not.toHaveBeenCalled();
jasmine.clock().uninstall();
expect(network.myInstance).toEqual(null);
}).then(done);
});

Expand Down
1 change: 0 additions & 1 deletion src/generic_core/social.ts
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,6 @@ module Social {
}

public logout = () : Promise<void> => {
this.myInstance = null;
this.stopMonitor_();
for (var userId in this.roster) {
this.roster[userId].handleLogout();
Expand Down

0 comments on commit b4d6407

Please sign in to comment.