mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix leaked objects when game ends with yields in progress
This commit is contained in:
parent
b3da429423
commit
c427334393
2 changed files with 25 additions and 11 deletions
|
|
@ -293,13 +293,15 @@ private:
|
|||
public:
|
||||
struct CallState {
|
||||
|
||||
ObjectID script_id;
|
||||
#ifdef DEBUG_ENABLED
|
||||
String script_path;
|
||||
#endif
|
||||
ObjectID instance_id;
|
||||
GDScriptInstance *instance;
|
||||
Vector<uint8_t> stack;
|
||||
int stack_size;
|
||||
Variant self;
|
||||
uint32_t alloca_size;
|
||||
Ref<GDScript> script;
|
||||
int ip;
|
||||
int line;
|
||||
int defarg;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue