diff options
| author | Kenjiro Nakayama <nakayamakenjiro@gmail.com> | 2026-05-04 13:27:54 +0900 |
|---|---|---|
| committer | Kenjiro Nakayama <nakayamakenjiro@gmail.com> | 2026-05-04 13:36:54 +0900 |
| commit | 374b05d111979d32e18cf7326463b69282966d1c (patch) | |
| tree | 23ee439462d5f2a29053e16f54685673bc4a0740 /include | |
| parent | b56b582a049d194a14064b36212f81645deeec22 (diff) | |
| download | portable-374b05d111979d32e18cf7326463b69282966d1c.tar.gz portable-374b05d111979d32e18cf7326463b69282966d1c.tar.bz2 portable-374b05d111979d32e18cf7326463b69282966d1c.zip | |
clean up speed alarm from timer stop on Windows
The Windows speed alarm implementation owns thread and handle state that
must be released after a benchmark run. Doing this from print_result() misses
speed tests that report their results directly, which led to the leak reported
in #1245.
Release the Windows alarm resources from speed_timer_stop() after recording
the elapsed time, so the cleanup follows the benchmark timer lifetime without
affecting the measured result.
Fix #1245
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
