mirror of
https://github.com/hakril/PythonForWindows
synced 2026-06-08 14:31:45 +00:00
Fix CurrentThread.teb_base being a property and not a fixedproperty
This commit is contained in:
@@ -584,7 +584,7 @@ class CurrentThread(Thread):
|
||||
"""
|
||||
return winproxy.GetCurrentThreadId()
|
||||
|
||||
@utils.fixedproperty
|
||||
@property #It's not a fixedproperty because executing thread might change
|
||||
def teb_base(self):
|
||||
get_teb_base_code = self.get_teb_code_by_bitness[self.owner.bitness]
|
||||
return self.owner.execute(get_teb_base_code)
|
||||
|
||||
Reference in New Issue
Block a user