diff options
| author | Pietro Gagliardi <[email protected]> | 2014-06-30 21:21:55 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-06-30 21:21:55 -0400 |
| commit | e8a7dd0b8788f14b2ecc04ecaef8e77e4d2b68e1 (patch) | |
| tree | d24f88f40d31b7a4b67d69b0b4f3b12c87c1d6ee /delegateuitask_darwin.m | |
| parent | 46ba0049cb80d8b6973c3146b40ceceaead710ed (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.m | 2 |
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]; } |
