Skip to content

Commit edd7ec7

Browse files
committed
Fixes
1 parent 3e1708f commit edd7ec7

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

modules/yup_audio_devices/native/yup_Audio_ios.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

modules/yup_events/messages/yup_Initialisation.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)