diff --git a/AppKit/stopwatch.h b/AppKit/stopwatch.h index 122836d..4b43b7f 100644 --- a/AppKit/stopwatch.h +++ b/AppKit/stopwatch.h @@ -17,6 +17,7 @@ typedef struct { OS_STATIC_FORCE_INLINE void stopwatch_init(stopwatch_t* self) { self->start_tick = os_systick_safe_get(); + self->end_tick = 0; } OS_STATIC_FORCE_INLINE