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
|
|
@ -202,6 +202,8 @@ friend class GDCompiler;
|
|||
|
||||
public:
|
||||
|
||||
_FORCE_INLINE_ Object* get_owner() { return owner; }
|
||||
|
||||
virtual bool set(const StringName& p_name, const Variant& p_value);
|
||||
virtual bool get(const StringName& p_name, Variant &r_ret) const;
|
||||
virtual void get_property_list(List<PropertyInfo> *p_properties) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue