mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-12 08:22:43 +00:00
Unload first stage on main thread
This commit is contained in:
@@ -265,9 +265,9 @@ void HookContext::nativeSpecializeAppProcess_post() {
|
||||
self_unload();
|
||||
} else {
|
||||
run_modules_post();
|
||||
}
|
||||
if (info.is_magisk_app) {
|
||||
setenv("ZYGISK_ENABLED", "1", 1);
|
||||
if (info.is_magisk_app) {
|
||||
setenv("ZYGISK_ENABLED", "1", 1);
|
||||
}
|
||||
}
|
||||
g_ctx = nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user