1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +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:
Juan Linietsky
2016-06-29 21:06:16 -03:00
parent ff11401441
commit 36e754457f
3 changed files with 30 additions and 0 deletions

View File

@@ -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;