1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Optimize gdvirtual layout.

Co-authored-by: David Snopek <dsnopek@gmail.com>
This commit is contained in:
Yufeng Ying
2025-03-17 13:17:33 +08:00
parent 8bd9cdeea6
commit 057858a0fb
3 changed files with 50 additions and 43 deletions

View File

@@ -2108,7 +2108,6 @@ void Object::clear_internal_extension() {
// Clear the virtual methods.
while (virtual_method_list) {
(*virtual_method_list->method) = nullptr;
(*virtual_method_list->initialized) = false;
virtual_method_list = virtual_method_list->next;
}
}