Skip to content

Commit

Permalink
Hard disconnect on reset.
Browse files Browse the repository at this point in the history
  • Loading branch information
snawbel committed Aug 28, 2014
1 parent 7a9c18e commit a522473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/play/lightPlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ angular.module('sp.player.play.lightPlayer', [])
dmxSocket.emit('onValueUpdate', value);
},
reset: function() {
console.log('lightPlayer: Reset');
console.log('lightPlayer: Reset --> Disonnect');
if (dmxSocket) {
dmxSocket.disconnect();
dmxSocket = null;
Expand Down

0 comments on commit a522473

Please sign in to comment.