[core] Make Action::stop_complex and Action::is_running non-virtual (#19662)

This commit is contained in:
J. Nick Koston
2026-09-25 19:20:57 +00:00
committed by GitHub
parent 29512cf323
commit cf9d807bf0
+2 -2
View File
@@ -486,7 +486,7 @@ template<typename... Ts> class Action {
this->play(x...);
this->play_next_(x...);
}
virtual void stop_complex() {
void stop_complex() {
if (num_running_) {
this->stop();
this->num_running_ = 0;
@@ -494,7 +494,7 @@ template<typename... Ts> class Action {
this->stop_next_();
}
/// Check if this or any of the following actions are currently running.
virtual bool is_running() { return this->num_running_ > 0 || this->is_running_next_(); }
bool is_running() { return this->num_running_ > 0 || this->is_running_next_(); }
/// The total number of actions that are currently running in this plus any of
/// the following actions in the chain.