Skip to content

src: refactor TimerWrap class

src: remove user_data from TimerWrap

There’s no point in having an opaque user data pointer when we’re already using std::function.

src: refactor TimerWrap lifetime management

Move the cleanup hook into the TimerWrap, because it should always be present when that class is being used, and split Stop(true) and Stop(false) into separate methods since the actions performed by these are fully distinct.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading