Permalink
Browse files

update example

  • Loading branch information...
1 parent c99b1c6 commit 6a39e749abfc1a9c3ea9c5371956c7e47e092c8b @Floby committed Dec 26, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 README.md
  2. +1 −1 example/play.js
View
@@ -64,7 +64,7 @@ session.once('login', function(err) {
player.once('track-end', function() {
console.log('track ended');
player.stop();
- session.logout();
+ session.close();
});
});
});
View
@@ -31,7 +31,7 @@ session.once('login', function(err) {
player.once('track-end', function() {
console.log('track ended');
player.stop();
- session.logout();
+ session.close();
});
});
});

0 comments on commit 6a39e74

Please sign in to comment.