From d119c8215b12364fadb7901fe40566335257c5a8 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 19 Jun 2013 22:16:59 -0400 Subject: [PATCH] Call -[NSInvocation retainArguments] in ThreadSafeDelegate. --- Source/ThreadSafeDeleage.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/ThreadSafeDeleage.m b/Source/ThreadSafeDeleage.m index dc340df..4c0493f 100644 --- a/Source/ThreadSafeDeleage.m +++ b/Source/ThreadSafeDeleage.m @@ -70,6 +70,7 @@ - (void)forwardInvocation:(NSInvocation*)invocation { if ([_object respondsToSelector:[invocation selector]]) { + [invocation retainArguments]; [self performSelector:@selector(dispatchInvocation:) onThread:_thread withObject:invocation -- 2.43.5