android: fix when reload clear retained java value
This commit is contained in:
parent
894cc91dd6
commit
d9c53f328b
@ -244,6 +244,7 @@ public class DoricContext {
|
||||
}
|
||||
|
||||
public void reload(String script) {
|
||||
retainedJavaValues.clear();
|
||||
getDriver().destroyContext(getContextId());
|
||||
for (DoricJavaPlugin javaPlugin : mPluginMap.values()) {
|
||||
javaPlugin.onTearDown();
|
||||
|
Reference in New Issue
Block a user