Fix crash on signal/resume to dangling target

This commit is contained in:
Pedro J. Estébanez 2018-11-25 12:38:12 +01:00
parent b499537e68
commit 06b6cea62e
2 changed files with 19 additions and 31 deletions

View file

@ -272,15 +272,13 @@ private:
public:
struct CallState {
ObjectID instance_id; //by debug only
ObjectID script_id;
ObjectID instance_id;
GDScriptInstance *instance;
Vector<uint8_t> stack;
int stack_size;
Variant self;
uint32_t alloca_size;
GDScript *_class;
Ref<GDScript> script;
int ip;
int line;
int defarg;