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

Method lockFreeEndDisableUpdates

valdi/src/valdi/runtime/Context/ViewNodeTree.cpp:882–891  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

880 }
881
882 auto layoutDidBecomeDirty = layoutDirtyCounter != _layoutDirtyCounter;
883 if (layoutDidBecomeDirty && _runtime != nullptr) {
884 _runtime->onViewNodeTreeLayoutBecameDirty(*this);
885 }
886
887 if (assetsManager != nullptr) {
888 assetsManager->endPauseUpdates();
889 }
890
891 endViewTransaction(viewTransactionScope, layoutDidBecomeDirty);
892
893 _runUpdatesInnerSessionStop = std::chrono::steady_clock::now();
894 _runUpdatesInnerAccumulatedTime += *_runUpdatesInnerSessionStop - runUpdatesStart;

Callers 1

endDisableUpdatesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected