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

Method getRuntimeTweaks

valdi/src/valdi/runtime/Runtime.cpp:761–763  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

759 _javaScriptRuntime->setJoinJsThreadOnTeardown(
760 runtimeTweaks != nullptr ? runtimeTweaks->joinJsThreadOnTeardown() : true);
761 _javaScriptRuntime->setRefuseDispatchAfterJsQueueTeardown(
762 runtimeTweaks != nullptr ? runtimeTweaks->refuseDispatchAfterJsQueueTeardown() : true);
763 _javaScriptRuntime->setStopWorkersOnHostTeardown(
764 runtimeTweaks != nullptr ? runtimeTweaks->enableTeardownStopOrphanedWorkers() : false);
765 // postInit reads this once, so a provider attached later must push it too.
766 _javaScriptRuntime->setANRFrameDurationsEnabled(runtimeTweaks != nullptr &&

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected