Don't reset the variable cache if nothing changes on pop()
This commit is contained in:
parent
6ca723c74e
commit
0f03f5d539
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue