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
|
@ -244,6 +244,9 @@ public:
|
|||
|
||||
void clear(GDScript::ClearData *p_clear_data = nullptr);
|
||||
|
||||
// Cancels all functions of the script that are are waiting to be resumed after using await.
|
||||
void cancel_pending_functions(bool warn);
|
||||
|
||||
virtual bool is_valid() const override { return valid; }
|
||||
virtual bool is_abstract() const override { return false; } // GDScript does not support abstract classes.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue