Removes dispatch_release when iOS >= 6 || OSX >= 1080 #260

wants to merge 1 commit into

3 participants


dispatch_release is forbidden under ARC in new iOS and OSX versions

Instead of commenting out dispatch_release we could define an empty macro to support other iOS versions.

@see ccgus/fmdb@aef763e via @JHumphreyJr in


Should we check for ARC also?

#if __has_feature(objc_arc)
Magical Panda Software member


@blackgold9 blackgold9 closed this Sep 27, 2012

You should use the build-in OS_OBJECT_USE_OBJC for that instead, which is provided by Apple just for that actually.

#define MRDispatchQueueRelease(x)
#define MRDispatchQueueRelease(x) dispatch_release(x);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment