Callbacks should ref the HHWheelTimer
Summary: Callbacks sometimes outlive the `HHWheelTimer` that they reference. Then the `Callback` tries to reference the dead `HHWheelTimer` and it could either misbehave or crash. This was caught reliably by ASAN tests. Since `HHWheelTimer` already supports intrusive ref counting, the solution is to acquire a reference within the `Callback`. Reviewed By: djwatson Differential Revision: D2617966 fb-gh-sync-id: 02be9ffc5851c269d5933288a17ad394b33ac2dd
Showing
Please register or sign in to comment