Remove block copying (#2438)

This commit is contained in:
Adlai Holler
2016-10-20 12:53:25 -07:00
committed by GitHub
parent 4816d75fbd
commit dbe3b1bd71
5 changed files with 17 additions and 12 deletions

View File

@@ -164,7 +164,7 @@ static void runLoopSourceCallback(void *info) {
if (self = [super init]) {
_runLoop = runloop;
_internalQueue = std::deque<id>();
_queueConsumer = [handlerBlock copy];
_queueConsumer = handlerBlock;
_batchSize = 1;
_ensureExclusiveMembership = YES;