mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
75cc8c371b
GetThreadContext() returns a context pointing to its own frame when it gets called with the current thread handle. That frame can go away after it returns. This patch instead uses RtlCaptureContext(), which captures the context of its caller, when walking the current thread. In the past, we also used a walker thread when nullptr is passed in for aThread, but the check doesn't cover all the cases, and having another thread is apparently more complicated than this approach. MozReview-Commit-ID: 3TAatDc9BLh --HG-- extra : rebase_source : 7978cce48b8939a723cd5ccafe86d3f7aca6d3ac |
||
---|---|---|
.. | ||
android | ||
build | ||
linker | ||
misc | ||
tests | ||
moz.build |