Do not unnecessarily reindex module.

This commit is contained in:
Stephen Chung
2021-04-17 22:19:48 +08:00
parent 2efe9d08a4
commit bd145bd080
2 changed files with 20 additions and 13 deletions

View File

@@ -2538,7 +2538,6 @@ impl Engine {
if let Some(global) = global {
let global = Shared::get_mut(global).unwrap();
global.set_var(name.clone(), value.clone());
global.build_index();
}
}