mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-05 06:22:04 +00:00
Add a new notification to detect crashes on native scripts
This commit is contained in:
@@ -181,6 +181,9 @@ class NativeScriptInstance : public ScriptInstance {
|
||||
|
||||
Object *owner;
|
||||
Ref<NativeScript> script;
|
||||
#ifdef DEBUG_ENABLED
|
||||
StringName current_method_call;
|
||||
#endif
|
||||
|
||||
void _ml_call_reversed(NativeScriptDesc *script_data, const StringName &p_method, const Variant **p_args, int p_argcount);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user