Fix FunctionScheduler::resetFunctionTimer
Summary: Keeping moved out functions on the heap leads to segfaults. Let's fix that by calling make_heap each time we need to update. We will regress resetFunctionTimer complexity to O(n), which is exactly what it was before D5668557. Reviewed By: simpkins Differential Revision: D6822488 fbshipit-source-id: 94f75789b01ff85e2df271822b767160285462c3
Showing
Please register or sign in to comment