Pop from front to avoid infinite loop with nested classes
This commit is contained in:
parent
0500fa1b73
commit
42d1b4f389
|
@ -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 New Issue