• Dylan Yudaken's avatar
    fix blocking wait executor crash on destruction · 839ce2a7
    Dylan Yudaken authored
    Summary: It is possible for blockingWait to crash if just after it leaves it's drive() method in the destructor, from another thread something releases the keep alive. If then the destructor continues it will clean up, but that other thread will then be manipulating freed data.
    
    Reviewed By: andriigrynenko
    
    Differential Revision: D19860616
    
    fbshipit-source-id: 25df16b5e900f283bbc0a264233770b6d3667ba3
    839ce2a7
BlockingWait.h 10.7 KB