You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #102521 from HolonProduction/cancel-await
GDScript: Cancel suspended functions when reloading a script
This commit is contained in:
@@ -615,6 +615,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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user