diff options
Diffstat (limited to 'uitask_darwin.go')
| -rw-r--r-- | uitask_darwin.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uitask_darwin.go b/uitask_darwin.go index fa2aa75..c05baf6 100644 --- a/uitask_darwin.go +++ b/uitask_darwin.go @@ -50,7 +50,7 @@ func ui(main func()) error { _uitask, fp, C.BOOL(C.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 - objc_release(pool) + C.objc_msgSend_noargs(pool, _release) } }() |
