connection checking on sessions reactivated

parent 667a2a61
...@@ -369,7 +369,7 @@ dashboardControllers.controller('StudentSessionCtrl', function StudentSessionCtr ...@@ -369,7 +369,7 @@ dashboardControllers.controller('StudentSessionCtrl', function StudentSessionCtr
// //
// websockets events handling (Dashboard) // websockets events handling (Dashboard)
// //
/*
io.socket.on('update_peers', function (data) { io.socket.on('update_peers', function (data) {
if($scope.ws && $scope.sessionRunning && $scope.actual_try.actions && $scope.flags.paused == false && data.pcb_count<1) { if($scope.ws && $scope.sessionRunning && $scope.actual_try.actions && $scope.flags.paused == false && data.pcb_count<1) {
...@@ -383,7 +383,7 @@ dashboardControllers.controller('StudentSessionCtrl', function StudentSessionCtr ...@@ -383,7 +383,7 @@ dashboardControllers.controller('StudentSessionCtrl', function StudentSessionCtr
} }
}); });
*/
// Remove all listeners to this event // Remove all listeners to this event
io.socket.off('action'); io.socket.off('action');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment