Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ isFromJsContext
Method
isFromJsContext
valdi/src/valdi/runtime/JavaScript/JSValueRefHolder.cpp:61–63 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
59
auto lock = _context->lock();
60
doDispose(lock);
61
}
62
63
bool JSValueRefHolder::expired() const {
64
auto taskScheduler = _taskScheduler.lock();
65
return taskScheduler == nullptr || taskScheduler->isDisposed();
66
}
Callers
1
unwrapJSValueIfNeeded
Function · 0.80
Calls
2
get
Method · 0.65
getTaskScheduler
Method · 0.45
Tested by
no test coverage detected