mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
GDScript: Cancel suspended functions when reloading a script
This commit is contained in:
parent
134da37497
commit
676e4c9013
7 changed files with 51 additions and 15 deletions
|
@ -616,6 +616,13 @@ public:
|
|||
bool is_valid(bool p_extended_check = false) const;
|
||||
Variant resume(const Variant &p_arg = Variant());
|
||||
|
||||
#ifdef DEBUG_ENABLED
|
||||
// Returns a human-readable representation of the function.
|
||||
String get_readable_function() {
|
||||
return state.function_name;
|
||||
}
|
||||
#endif
|
||||
|
||||
void _clear_stack();
|
||||
void _clear_connections();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue