mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: The code is moved from the destructor a separate method that we now call in the Scheduler::stopSurface. That makes the code more readable and resilient to possible races and ownership-related changes. Reviewed By: JoshuaGross Differential Revision: D17272294 fbshipit-source-id: 948d76d074577beb3dda6defdf09261b5c8abb98