mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Revert "Fix crash on signal/resume to dangling target"
This reverts commit 54bdc1e1f6
.
This commit is contained in:
parent
a16d9c6ab6
commit
b499537e68
4 changed files with 43 additions and 46 deletions
|
@ -225,7 +225,7 @@ private:
|
|||
bool _static;
|
||||
MultiplayerAPI::RPCMode rpc_mode;
|
||||
|
||||
Ref<GDScript> _script;
|
||||
GDScript *_script;
|
||||
|
||||
StringName name;
|
||||
Vector<Variant> constants;
|
||||
|
@ -272,13 +272,15 @@ private:
|
|||
public:
|
||||
struct CallState {
|
||||
|
||||
ObjectID instance_id;
|
||||
ObjectID instance_id; //by debug only
|
||||
ObjectID script_id;
|
||||
|
||||
GDScriptInstance *instance;
|
||||
Vector<uint8_t> stack;
|
||||
int stack_size;
|
||||
Variant self;
|
||||
uint32_t alloca_size;
|
||||
Ref<GDScript> script;
|
||||
GDScript *_class;
|
||||
int ip;
|
||||
int line;
|
||||
int defarg;
|
||||
|
@ -297,7 +299,7 @@ public:
|
|||
int get_default_argument_addr(int p_idx) const;
|
||||
GDScriptDataType get_return_type() const;
|
||||
GDScriptDataType get_argument_type(int p_idx) const;
|
||||
GDScript *get_script() const { return const_cast<GDScript *>(_script.ptr()); }
|
||||
GDScript *get_script() const { return _script; }
|
||||
StringName get_source() const { return source; }
|
||||
|
||||
void debug_get_stack_member_state(int p_line, List<Pair<StringName, int> > *r_stackvars) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue