Don't reset the variable cache if nothing changes on pop()

This commit is contained in:
Emmanuel BENOîT 2022-09-17 10:47:45 +02:00
parent 6ca723c74e
commit 0f03f5d539

View file

@ -129,6 +129,8 @@ class VariableStorage(MutableMapping):
def _script_stack_pop(self):
restore = self._script_stack.pop()
if not restore:
return
for vn, vv in restore.items():
existed, value = vv
if existed: