Remove unnecessary autoreleasepool block.
This commit is contained in:
parent
ba9fe0534f
commit
a1bf797f56
1 changed files with 1 additions and 3 deletions
2
ThirdParty/SPMediaKeyTap/SPMediaKeyTap.m
vendored
2
ThirdParty/SPMediaKeyTap/SPMediaKeyTap.m
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue