Remove unnecessary autoreleasepool block.

CQTexperiment
Chris Moeller 2016-05-07 10:21:05 -07:00
parent ba9fe0534f
commit a1bf797f56
1 changed files with 1 additions and 3 deletions

View File

@ -219,10 +219,8 @@ static CGEventRef tapEventCallback2(CGEventTapProxy proxy, CGEventType type, CGE
static CGEventRef tapEventCallback(CGEventTapProxy proxy, CGEventType type, CGEventRef event, void *refcon)
{
@autoreleasepool {
return tapEventCallback2(proxy, type, event, refcon);
}
}
// event will have been retained in the other thread