From e8a7dd0b8788f14b2ecc04ecaef8e77e4d2b68e1 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 30 Jun 2014 21:21:55 -0400 Subject: Converted the Mac OS X backend to use uitask() instead of uitask chan func(). --- delegateuitask_darwin.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'delegateuitask_darwin.m') 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]; } -- cgit v1.2.3