mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Warn instad of crashing when class instance is gone after yield. Closes #5247 , probably closes other yield related crashes
This commit is contained in:
parent
ff11401441
commit
36e754457f
3 changed files with 30 additions and 0 deletions
|
|
@ -136,6 +136,9 @@ public:
|
|||
|
||||
struct CallState {
|
||||
|
||||
ObjectID instance_id; //by debug only
|
||||
ObjectID script_id;
|
||||
|
||||
GDInstance *instance;
|
||||
Vector<uint8_t> stack;
|
||||
int stack_size;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue