mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-11 09:11:14 +08:00
init Timing.java in a paused state
Summary: It hasn't been resumed yet when first constructed. public Reviewed By: astreet Differential Revision: D2705635 fb-gh-sync-id: fa90a89524d56fd5e349ebad2820b42deba7f26f
This commit is contained in:
committed by
facebook-github-bot-1
parent
a26b89f8bd
commit
b6f662d6b6
@@ -90,7 +90,7 @@ public final class Timing extends ReactContextBaseJavaModule implements Lifecycl
|
||||
private final Object mTimerGuard = new Object();
|
||||
private final PriorityQueue<Timer> mTimers;
|
||||
private final SparseArray<Timer> mTimerIdsToTimers;
|
||||
private final AtomicBoolean isPaused = new AtomicBoolean(false);
|
||||
private final AtomicBoolean isPaused = new AtomicBoolean(true);
|
||||
private final FrameCallback mFrameCallback = new FrameCallback();
|
||||
private @Nullable ReactChoreographer mReactChoreographer;
|
||||
private @Nullable JSTimersExecution mJSTimersModule;
|
||||
|
||||
Reference in New Issue
Block a user