Pop from front to avoid infinite loop with nested classes

This commit is contained in:
Nhiqill 2020-07-27 16:36:56 -04:00
parent 0500fa1b73
commit 42d1b4f389

View File

@ -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;