Repository navigation
17.25.1
module-registry: Tear down with early destructors On Windows the registry hooks LdrLoadDll() and LdrUnloadDll(), and reverting those hooks patches code. When an agent delegates code memory to its host, the memory hooks needed for that are gone by the time final destructors run, so the patch failed and we aborted. Tear down in gum_shutdown() instead, so callers can do so while patching still works.