| 308 | } |
| 309 | |
| 310 | bool LoaderService::isRunning(const std::string& id) const { |
| 311 | const auto lock = mutex.asScopedLock(); |
| 312 | lock.lock(); |
| 313 | for (const auto& app : appStack) { |
| 314 | if (app->getManifest().appId == id) { |
| 315 | return true; |
| 316 | } |
| 317 | } |
| 318 | return false; |
| 319 | } |
| 320 | |
| 321 | std::shared_ptr<LoaderService> findLoaderService() { |
| 322 | return service::findServiceById<LoaderService>(manifest.id); |
no test coverage detected