Skip to content

Commit 08ee64a

Browse files
JezzJezz
authored andcommitted
remove the bridge transfer jezzmemo#76
1 parent 418fbbf commit 08ee64a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JJException/Source/ARC/NSTimer+CleanTimer.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ - (void)fireTimer{
6060
invocation.target = self.target;
6161
invocation.selector = self.selector;
6262
if (signature.numberOfArguments > 2) {
63-
[invocation setArgument:(__bridge void * _Nonnull)(self.timer) atIndex:2];
63+
[invocation setArgument:&_timer atIndex:2];
6464
}
6565
[invocation retainArguments];
6666
[invocation invoke];

0 commit comments

Comments
 (0)