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:
@@ -243,6 +243,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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user