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

Method applicationWillTerminate

valdi/src/valdi/runtime/RuntimeManager.cpp:354–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352 Ref<ValdiRuntimeTweaks> runtimeTweaks;
353 {
354 std::lock_guard<Mutex> guard(_mutex);
355 runtimeTweaks = _runtimeTweaks;
356 }
357
358 if (yogaConfigOverride != nullptr) {
359 applyYogaTweaks(yogaConfigOverride.get(), runtimeTweaks.get());
360 _yogaConfigOverrides.emplace_back(yogaConfigOverride);
361 }
362
363 // Seed the kill switch from the current tweaks so contexts created after the provider is set pick
364 // it up; the setTweakValueProvider loop handles contexts created before it arrives.
365 viewManagerContext->setApplyManagedChildFramePadding(

Callers

nothing calls this directly

Calls 3

partialTeardownMethod · 0.80
getJavaScriptRuntimeMethod · 0.80

Tested by

no test coverage detected