Skip to content

Commit 1d3a408

Browse files
committed
[PATCH 3 / ?] Fix: Used wrong variable name.
1 parent 59686a9 commit 1d3a408

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vspreview/cores.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def reload_core(self):
1414
new_environment = self._api.create_environment()
1515
old_environment = self._current_environment
1616
self._current_environment = new_environment
17-
self._api.destroy_environment(old)
17+
self._api.destroy_environment(old_environment)
1818

1919
def on_policy_registered(self, special_api: EnvironmentPolicyAPI):
2020
self._current_environment = special_api.create_environment()

0 commit comments

Comments
 (0)