• Andrii Grynenko's avatar
    Fix KeepAlive management for eager variants of addTask* · 6119a632
    Andrii Grynenko authored
    Summary:
    LoopController::runLoop is responsible for managing Executor/EventBase keep-alive handle.
    This diff introduces a similar level of indirection (LoopController::addTaskEager) to solve the same problem for eager variants of addTask*.
    
    Reviewed By: yfeldblum
    
    Differential Revision: D20613287
    
    fbshipit-source-id: 22388ca3b31664c5fedfd509f2d9bab3d86aab47
    6119a632
ExecutorLoopController.h 3.13 KB