1 Commits
Author SHA1 Message Date
w1tcherandClaude Opus 4.8 d8f904c44a Fix FLS FiberManager writing last_error to a dead attribute
FiberManager.free/set/get set `self.last_error` on the FiberManager
instance, but nothing ever reads that attribute. The Windows last-error
that GetLastError returns lives on `ql.os.last_error`, so FlsFree,
FlsSetValue and FlsGetValue never actually reported ERROR_INVALID_PARAMETER
for an invalid FLS index. Route the three writes to `self.ql.os.last_error`,
consistent with every other kernel32 hook.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
2026-07-07 17:37:59 +08:00