Skip to content

Commit 6383e30

Browse files
committed
Update PythonScript.cpp
1 parent cde8a3b commit 6383e30

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lang/PythonScript.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ PythonScript::PythonScript() :
2727

2828
PythonScript::~PythonScript() {
2929
placeholders.erase(this);
30+
if (meta.is_valid && !meta.class_name.is_empty()) {
31+
known_classes.erase(meta.class_name);
32+
}
3033
}
3134

3235
bool PythonScript::_editor_can_reload_from_file() {

0 commit comments

Comments
 (0)