MCPcopy Create free account
hub / github.com/Snapchat/Valdi / setUserSession

Method setUserSession

valdi/src/valdi/runtime/RuntimeManager.cpp:440–446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

438 return _debuggerService != nullptr;
439}
440
441void 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
449MainThreadManager& RuntimeManager::getMainThreadManager() {

Callers

nothing calls this directly

Calls 2

setMethod · 0.65
isEmptyMethod · 0.45

Tested by

no test coverage detected