aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar CodaFi <devteam.codafi@gmail.com>2013-10-22 19:41:54 -0600
committerGravatar CodaFi <devteam.codafi@gmail.com>2013-10-22 19:41:54 -0600
commit342be3eaef91025928250a797fc489c7904366b2 (patch)
treeff7173544829cd88f8feb1bfdece4a23c38b0810 /src/core
parent078f80607c3916a5e76090da105aea97c4d2a8f1 (diff)
Assume main, rather than current, queue for callbacks
Diffstat (limited to 'src/core')
-rw-r--r--src/core/basetypes/MCOperation.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/basetypes/MCOperation.cc b/src/core/basetypes/MCOperation.cc
index 5829d739..125f46b2 100644
--- a/src/core/basetypes/MCOperation.cc
+++ b/src/core/basetypes/MCOperation.cc
@@ -8,7 +8,7 @@ Operation::Operation()
mCancelled = false;
pthread_mutex_init(&mLock, NULL);
#if __APPLE__
- mCallbackDispatchQueue = dispatch_get_current_queue();
+ mCallbackDispatchQueue = dispatch_get_main_queue();
#else
mCallbackDispatchQueue = NULL;
#endif