Fix de-ref of evb after evb deletion
Summary: HHWheelTimer is a member of EventBase, and EventBase is passed to it in the ctor. However during the destruction of the evb, wheel timer gets destroyed after the evb is destroyed and still retains a reference to the evb. This is not so good. This diff fixes it by canceling the timer before the evb gets destroyed. Reviewed By: lnicco Differential Revision: D15177816 fbshipit-source-id: 7298fcdc3a73041484a315c420bcb866175c19cc
Showing
Please register or sign in to comment