From e31583485d56c8954740e626d7ea8affee86b7df Mon Sep 17 00:00:00 2001 From: LoveSy Date: Fri, 7 Jan 2022 10:05:09 +0800 Subject: [PATCH] Don't prefetch env to avoid deadlock Fix #5178 --- app/src/main/java/com/topjohnwu/magisk/core/utils/ShellInit.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/src/main/java/com/topjohnwu/magisk/core/utils/ShellInit.kt b/app/src/main/java/com/topjohnwu/magisk/core/utils/ShellInit.kt index 8ab385f06..5ef0f9d11 100644 --- a/app/src/main/java/com/topjohnwu/magisk/core/utils/ShellInit.kt +++ b/app/src/main/java/com/topjohnwu/magisk/core/utils/ShellInit.kt @@ -83,9 +83,6 @@ class ShellInit : Shell.Initializer() { Config.keepVerity = getBool("KEEPVERITY") Config.keepEnc = getBool("KEEPFORCEENCRYPT") - // Pre-fetch env - Info.env - return true } }