]> gitweb.factorcode.org Git - factor.git/commitdiff
Initialize sampler_thread field in constructor too
authornomennescio <nomennescio@factorcode.org>
Mon, 22 Jan 2024 10:31:56 +0000 (11:31 +0100)
committernomennescio <nomennescio@factorcode.org>
Mon, 22 Jan 2024 10:31:56 +0000 (11:31 +0100)
This now initializes all Windows specific fields

vm/vm.cpp

index cfe544ac21381c144422043779427cafe7fd04c7..1edd94a06640acbba7a7fd5b5597f04d3e413825 100644 (file)
--- 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();