mirror of https://github.com/godotengine/godot
When compiling with GCC it is now possible for an opcode followed by itself to never leave the scope it is currently in. This leads to a situation where the dtor of a scope local variable isn't called which in turn can lead to a memory leak. By moving the goto outside of the scope of each opcode we guarantee that all dtors have been called before the next opcode gets dispatched. this fixes #12401 |
||
|---|---|---|
| .. | ||
| SCsub | ||
| config.py | ||
| gd_compiler.cpp | ||
| gd_compiler.h | ||
| gd_editor.cpp | ||
| gd_function.cpp | ||
| gd_function.h | ||
| gd_functions.cpp | ||
| gd_functions.h | ||
| gd_parser.cpp | ||
| gd_parser.h | ||
| gd_script.cpp | ||
| gd_script.h | ||
| gd_tokenizer.cpp | ||
| gd_tokenizer.h | ||
| register_types.cpp | ||
| register_types.h | ||