aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2021-02-22 18:44:33 +0100
committerAndre Weissflog <floooh@gmail.com>2021-02-22 18:44:33 +0100
commit4cd2da815a93faba4dd5368b23048ae528b63ddc (patch)
treeb20059524d30c1e8e32f949370d481dfbe3fce49
parent08b7741d6d8685deff8ddbfded0ef607d5f7c074 (diff)
sokol_audio.h: ARC vs no-ARC fix for iOS
-rw-r--r--sokol_audio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sokol_audio.h b/sokol_audio.h
index 4d768e5f..b1a9571f 100644
--- a/sokol_audio.h
+++ b/sokol_audio.h
@@ -1009,7 +1009,9 @@ _SOKOL_PRIVATE void _saudio_backend_shutdown(void) { };
-(void)dealloc {
[self remove_handler];
+ #if !__has_feature(objc_arc)
[super dealloc];
+ #endif
}
-(void)remove_handler {