mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-13 12:26:45 +08:00
Fix AssertionError in EventDispatcher
Summary: This task fixes an AssertionError in EventDispatcher class, this is produced by a race condition. Reviewed By: JoshuaGross Differential Revision: D14134907 fbshipit-source-id: 7b670ee35e47c0d8a9f7f7b68a3b8f7193b7de54
This commit is contained in:
committed by
Facebook Github Bot
parent
49d91456fd
commit
22d776f5c2
@@ -168,7 +168,7 @@ public class EventDispatcher implements LifecycleEventListener {
|
||||
|
||||
@Override
|
||||
public void onHostResume() {
|
||||
mCurrentFrameCallback.maybePostFromNonUI();
|
||||
maybePostFrameCallbackFromNonUI();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user