| 438 | return _debuggerService != nullptr; |
| 439 | } |
| 440 | |
| 441 | void RuntimeManager::setUserSession(const StringBox& userId) { |
| 442 | if (userId.isEmpty()) { |
| 443 | _userSession.set(nullptr); |
| 444 | } else { |
| 445 | _userSession.set(Valdi::makeShared<UserSession>(userId)); |
| 446 | } |
| 447 | } |
| 448 | |
| 449 | MainThreadManager& RuntimeManager::getMainThreadManager() { |