Merge pull request #40777 from Nhiqill/fix_mono_nested_class_reload
Pop from front to avoid infinite loop with nested classes
This commit is contained in:
commit
3edcccafd9
1 changed files with 1 additions and 1 deletions
|
@ -425,7 +425,7 @@ GDMonoClass *GDMonoAssembly::get_object_derived_class(const StringName &p_class)
|
|||
|
||||
while (!nested_classes.empty()) {
|
||||
GDMonoClass *current_nested = nested_classes.front()->get();
|
||||
nested_classes.pop_back();
|
||||
nested_classes.pop_front();
|
||||
|
||||
void *iter = nullptr;
|
||||
|
||||
|
|
Loading…
Reference in a new issue