Skip to content

Commit

Permalink
Fix facebook#23755 ("RCTImagePickerManager requires main queue setup"…
Browse files Browse the repository at this point in the history
… warning)
  • Loading branch information
Seph Soliman committed Apr 4, 2019
1 parent d9a8222 commit 839358e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Libraries/CameraRoll/RCTImagePickerManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,14 @@ - (id)init
return self;
}

+ (BOOL)requiresMainQueueSetup
{
return NO;
}

- (void)dealloc
{
[[NSNotificationCenter defaultCenter] removeObserver:self name:@"AVCaptureDeviceDidStartRunningNotification" object:nil];
[[NSNotificationCenter defaultCenter] removeObserver:self name:@"AVCaptureDeviceDidStartRunningNotification" object:nil];
}

- (dispatch_queue_t)methodQueue
Expand Down

0 comments on commit 839358e

Please sign in to comment.