mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Fix wrong variable name.
This commit is contained in:
@@ -8,7 +8,7 @@ module.exports = function SocketServiceFactory() {
|
||||
|
||||
$scope.$on('$destroy', function() {
|
||||
listeners.forEach(function(listener) {
|
||||
socket.removeListener(listener.event, listener.handler)
|
||||
socketService.removeListener(listener.event, listener.handler)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user