mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-11 17:51:33 +00:00
Update current_thread_id when setting current thread (#340)
This commit is contained in:
@ -225,6 +225,7 @@ impl Target {
|
||||
}
|
||||
|
||||
pub fn set_current_thread(&mut self, thread_id: DWORD) {
|
||||
self.current_thread_id = thread_id;
|
||||
self.current_thread_handle = self.thread_info.get(&thread_id).unwrap().handle;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user