aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objc/utils/MCOOperation.h
diff options
context:
space:
mode:
authorGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2014-03-29 23:53:42 -0700
committerGravatar Hoa V. DINH <dinh.viet.hoa@gmail.com>2014-03-29 23:53:42 -0700
commita536d04f543ca0b8a2f3bc9ec28f3424b390355a (patch)
treef5f935e6e83e77a4aa0006157ef2c8a883602d4a /src/objc/utils/MCOOperation.h
parent7d80e3d568554f0c742a41bb9c9af567d71b5b83 (diff)
Fixed dispatch queue memory management.
Diffstat (limited to 'src/objc/utils/MCOOperation.h')
-rw-r--r--src/objc/utils/MCOOperation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objc/utils/MCOOperation.h b/src/objc/utils/MCOOperation.h
index f46536c9..b42dfbef 100644
--- a/src/objc/utils/MCOOperation.h
+++ b/src/objc/utils/MCOOperation.h
@@ -23,7 +23,7 @@
/** The queue this operation dispatches the callback on. Defaults to the main queue.
This property should be used only if there's performance issue creating or calling the callback
in the main thread. */
-@property (nonatomic, assign) dispatch_queue_t callbackDispatchQueue;
+@property (nonatomic, retain) dispatch_queue_t callbackDispatchQueue;
/** This methods is called on the main thread when the asynchronous operation is finished.
Needs to be overriden by subclasses.*/