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

Method onContextDestroyed

valdi/src/valdi/runtime/Runtime.cpp:822–829  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

820}
821
822void Runtime::onDebugMessage(int32_t level, const StringBox& message) {
823 if (_runtimeMessageHandler != nullptr) {
824 _runtimeMessageHandler->onDebugMessage(level, message.slowToString());
825 }
826}
827
828void Runtime::onContextCreated(const SharedContext& context) {
829 if (_listener != nullptr) {
830 _listener->onContextCreated(*this, context);
831 }
832}

Callers 1

destroyContextMethod · 0.45

Calls 2

getContextsSizeMethod · 0.80

Tested by

no test coverage detected