mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
b72d6768e0
Summary: This is an addition to an automatic emergency clean-up algorithm that we have in Scheduler. In addition to committing empty surfaces, we also remove those surfaces from the registry making calling stuff on them impossible. Removing surfaces waits for all commits in flight to be finished, so it theoretically can deadlock (so we gated that). If we won't face deadlocks in a coming couple of weeks, I would remove gating. Changelog: [Internal] Fabric-specific internal change. Reviewed By: mdvacca Differential Revision: D21610683 fbshipit-source-id: 71feeaa0ee4521a0180cdfba6e3a271e7f7d9401