Skip to content

Commit

Permalink
Initialize sampler_thread field in constructor too
Browse files Browse the repository at this point in the history
This now initializes all Windows specific fields
  • Loading branch information
nomennescio committed Jan 22, 2024
1 parent 42f5bde commit 6e0b4d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vm/vm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 6e0b4d4

Please sign in to comment.