Skip to content

Commit

Permalink
Os(Windows): Fix execute_while_frozen not setting thread context
Browse files Browse the repository at this point in the history
  • Loading branch information
cursey committed Mar 9, 2024
1 parent 91fbc79 commit 1040502
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/os.windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,8 @@ void execute_while_frozen(
static_cast<ThreadContext>(&thread_ctx));
}

SetThreadContext(thread, &thread_ctx);

++num_threads_frozen;
}

Expand Down

0 comments on commit 1040502

Please sign in to comment.