Pop from front to avoid infinite loop with nested classes
(cherry picked from commit 42d1b4f389
)
This commit is contained in:
parent
44ff9cdea5
commit
8d5dab5a05
|
@ -397,7 +397,7 @@ GDMonoClass *GDMonoAssembly::get_object_derived_class(const StringName &p_class)
|
||||||
|
|
||||||
while (!nested_classes.empty()) {
|
while (!nested_classes.empty()) {
|
||||||
GDMonoClass *current_nested = nested_classes.front()->get();
|
GDMonoClass *current_nested = nested_classes.front()->get();
|
||||||
nested_classes.pop_back();
|
nested_classes.pop_front();
|
||||||
|
|
||||||
void *iter = NULL;
|
void *iter = NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue