mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-20 12:55:26 +02:00
Adding tests for controllers.
This commit is contained in:
@@ -21,7 +21,9 @@ module.exports = function LogsCtrl($scope, LogcatService) {
|
||||
})
|
||||
|
||||
window.onbeforeunload = function () {
|
||||
$scope.control.stopLogcat()
|
||||
if ($scope.control) {
|
||||
$scope.control.stopLogcat()
|
||||
}
|
||||
}
|
||||
|
||||
$scope.clear = function () {
|
||||
|
||||
Reference in New Issue
Block a user