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:
Rémi Verschelde 2020-07-28 00:26:14 +02:00 committed by GitHub
commit 3edcccafd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;