Copy variables when storing them on the stack
This commit is contained in:
parent
0519be9316
commit
9c4cc09021
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class VariableStorage(MutableMapping):
|
|||
data = {}
|
||||
for v in variables:
|
||||
if v in self._script_vars:
|
||||
se = (True, self._script_vars[v])
|
||||
se = (True, self._script_vars[v].copy())
|
||||
else:
|
||||
se = (False, None)
|
||||
data[v] = se
|
||||
|
|
Loading…
Reference in a new issue