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

Method expired

valdi/src/valdi/runtime/JavaScript/JSValueRefHolder.cpp:48–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48bool JSValueRefHolder::expired() const {
49 auto taskScheduler = _taskScheduler.lock();
50 return taskScheduler == nullptr || taskScheduler->isDisposed();
51}
52
53Shared<JavaScriptTaskScheduler> JSValueRefHolder::getTaskScheduler() const {
54 return _taskScheduler.lock();

Callers 6

teardownMethod · 0.45
TEST_PFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
removeExpiredRuntimesMethod · 0.45
teardownMethod · 0.45

Calls 2

lockMethod · 0.45
isDisposedMethod · 0.45

Tested by 4

teardownMethod · 0.36
TEST_PFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36