mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 23:31:53 -05:00
Fix leaked objects when game ends with yields in progress
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user