fix test mode

This commit is contained in:
MihailRis 2026-06-04 23:21:58 +03:00
parent dd62393eb6
commit b1311fd03c
5 changed files with 26 additions and 7 deletions

View file

@ -57,3 +57,7 @@ void AppScriptsControl::terminate(std::string_view reason) {
logger.info() << "script has been terminated due to " << reason;
}
}
bool AppScriptsControl::isFinished() const {
return scriptCoroutine == nullptr || !scriptCoroutine->isActive();
}