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 = {}
|
data = {}
|
||||||
for v in variables:
|
for v in variables:
|
||||||
if v in self._script_vars:
|
if v in self._script_vars:
|
||||||
se = (True, self._script_vars[v])
|
se = (True, self._script_vars[v].copy())
|
||||||
else:
|
else:
|
||||||
se = (False, None)
|
se = (False, None)
|
||||||
data[v] = se
|
data[v] = se
|
||||||
|
|
Loading…
Reference in a new issue