File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -173,7 +173,6 @@ YUP_END_IGNORE_WARNINGS_GCC_LIKE
173173- (void )dealloc
174174{
175175 [[NSNotificationCenter defaultCenter] removeObserver:self];
176- [super dealloc];
177176}
178177
179178- (void )audioSessionChangedInterruptionType:(NSNotification*)notification
@@ -769,17 +768,19 @@ struct iOSAudioIODevice::Pimpl final : public AsyncUpdater
769768 &dataSize);
770769 if (err == noErr)
771770 {
771+ auto hostNSURL = (__bridge NSURL*) hostUrl;
772+
772773 if (@available (iOS 10.0 , *))
773774 {
774- [[UIApplication sharedApplication] openURL:(NSURL*) hostUrl
775+ [[UIApplication sharedApplication] openURL:hostNSURL
775776 options:@{}
776777 completionHandler:nil];
777778
778779 return ;
779780 }
780781
781782 YUP_BEGIN_IGNORE_DEPRECATION_WARNINGS
782- [[UIApplication sharedApplication] openURL:(NSURL*) hostUrl ];
783+ [[UIApplication sharedApplication] openURL:hostNSURL ];
783784 YUP_END_IGNORE_DEPRECATION_WARNINGS
784785 }
785786 }
Original file line number Diff line number Diff line change @@ -212,7 +212,6 @@ class YUP_API ScopedYupInitialiser_GUI final
212212 -(void) dealloc
213213 {
214214 [yupDelegate release];
215- [super dealloc];
216215 }
217216
218217 - (void) forwardInvocation: (NSInvocation*) anInvocation
You can’t perform that action at this time.
0 commit comments