You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
GDScript: Don't clear depended parsers too soon
It can wait until the analyzer itself is destructed, otherwise other phases might be using freed parsers.
This commit is contained in:
@@ -3370,7 +3370,6 @@ Error GDScriptAnalyzer::resolve_program() {
|
||||
}
|
||||
depended_parsers[E->get()]->raise_status(GDScriptParserRef::FULLY_SOLVED);
|
||||
}
|
||||
depended_parsers.clear();
|
||||
return parser->errors.empty() ? OK : ERR_PARSE_ERROR;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user