diff --git a/src/os.windows.cpp b/src/os.windows.cpp index ab8755c..8fd4f5b 100644 --- a/src/os.windows.cpp +++ b/src/os.windows.cpp @@ -216,6 +216,8 @@ void execute_while_frozen( static_cast(&thread_ctx)); } + SetThreadContext(thread, &thread_ctx); + ++num_threads_frozen; }