mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-13 02:28:10 +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) {
|
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;
|
self.current_thread_handle = self.thread_info.get(&thread_id).unwrap().handle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user