Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions DJIDebuger/DJIDRootViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@

@interface DJIDRootViewController ()<DJISDKDebugServerDelegate>

@property (assign,nonatomic) pthread_mutex_t serviceMutex;

// UI
@property (weak,nonatomic) IBOutlet UILabel* debugIdLabel;
@property (weak,nonatomic) IBOutlet UILabel* debugTitleLabel;
Expand All @@ -52,8 +50,6 @@ - (void) updateIPAddress:(NSString*) ipaddress {
- (void)viewDidLoad {
[super viewDidLoad];

pthread_mutex_init(&_serviceMutex, NULL);

[self initUI];

weakSelf(target);
Expand All @@ -70,11 +66,6 @@ - (UIStatusBarStyle) preferredStatusBarStyle {
return UIStatusBarStyleLightContent;
}

-(void) dealloc
{
pthread_mutex_destroy(&_serviceMutex);
}

-(void) viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
Expand Down