MCPcopy Create free account
hub / github.com/Windscribe/Desktop-App / cancelTimer

Function cancelTimer

src/client/client-common/utils/timer_win.cpp:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26void cancelTimer(wsl::Win32Handle &timer)
27{
28 if (timer.isValid()) {
29 ::CancelWaitableTimer(timer.getHandle());
30 timer.closeHandle();
31 }
32}
33
34} // namespace timer_win

Callers 1

runMethod · 0.85

Calls 3

getHandleMethod · 0.80
closeHandleMethod · 0.80
isValidMethod · 0.45

Tested by

no test coverage detected