summaryrefslogtreecommitdiff
path: root/delegateuitask_darwin.m
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-30 21:21:55 -0400
committerPietro Gagliardi <[email protected]>2014-06-30 21:21:55 -0400
commite8a7dd0b8788f14b2ecc04ecaef8e77e4d2b68e1 (patch)
treed24f88f40d31b7a4b67d69b0b4f3b12c87c1d6ee /delegateuitask_darwin.m
parent46ba0049cb80d8b6973c3146b40ceceaead710ed (diff)
Converted the Mac OS X backend to use uitask() instead of uitask chan func().
Diffstat (limited to 'delegateuitask_darwin.m')
-rw-r--r--delegateuitask_darwin.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/delegateuitask_darwin.m b/delegateuitask_darwin.m
index ed912eb..9f16071 100644
--- a/delegateuitask_darwin.m
+++ b/delegateuitask_darwin.m
@@ -127,7 +127,7 @@ void douitask(id appDelegate, void *p)
fp = [NSValue valueWithPointer:p];
[appDelegate performSelectorOnMainThread:@selector(uitask:)
withObject:fp
- waitUntilDone:YES]; // wait so we can properly drain the autorelease pool; on other platforms we wind up waiting anyway (since the main thread can only handle one thing at a time) so
+ waitUntilDone:YES]; // wait since that's what we want the Go uitask() to do
[pool release];
}