diff options
| author | Andre Weissflog <floooh@gmail.com> | 2021-02-22 18:44:33 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2021-02-22 18:44:33 +0100 |
| commit | 4cd2da815a93faba4dd5368b23048ae528b63ddc (patch) | |
| tree | b20059524d30c1e8e32f949370d481dfbe3fce49 | |
| parent | 08b7741d6d8685deff8ddbfded0ef607d5f7c074 (diff) | |
sokol_audio.h: ARC vs no-ARC fix for iOS
| -rw-r--r-- | sokol_audio.h | 2 |
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 { |