Pop from front to avoid infinite loop with nested classes

(cherry picked from commit 42d1b4f389)
This commit is contained in:
Nhiqill 2020-07-27 16:36:56 -04:00 committed by Rémi Verschelde
parent 44ff9cdea5
commit 8d5dab5a05
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,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 = NULL;