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