修复 停止脚本时导致ANR的问题
This commit is contained in:
@@ -410,7 +410,7 @@ public class ScriptRuntime {
|
||||
ignoresException(media::recycle);
|
||||
ignoresException(loopers::recycle);
|
||||
ignoresException(() -> {
|
||||
if (mRootShell != null) mRootShell.exitAndWaitFor();
|
||||
if (mRootShell != null) mRootShell.exit();
|
||||
mRootShell = null;
|
||||
mShellSupplier = null;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user