From 6e0b4d440972e4bb8d0457e0b8f8609c60d9a905 Mon Sep 17 00:00:00 2001 From: nomennescio Date: Mon, 22 Jan 2024 11:31:56 +0100 Subject: [PATCH] Initialize sampler_thread field in constructor too This now initializes all Windows specific fields --- vm/vm.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vm/vm.cpp b/vm/vm.cpp index cfe544ac21..1edd94a066 100644 --- a/vm/vm.cpp +++ b/vm/vm.cpp @@ -31,7 +31,8 @@ factor_vm::factor_vm(THREADHANDLE thread) #if defined(WINDOWS) , thread_id(GetCurrentThreadId()), - ctrl_break_thread(NULL) + ctrl_break_thread(NULL), + sampler_thread(NULL) #endif { primitive_reset_dispatch_stats(); -- 2.34.1