mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add more logs
Summary: Added more logs to understand what's the root cause for https://fburl.com/logview/kgknonri ```java.lang.IllegalStateException: Message queue threads already initialized at X.5y2.A0I(:64) at com.facebook.venice.ReactInstance.<init>(:112) at X.PrB.EgB(:33) at X.2pN.run(:4) at X.2pA.execute(:32) at X.2p6.A00(:30) at X.2p6.A08(:2) at X.PrC.EgB(:26) at X.Pr7.run(:4) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:919) ``` Changelog: [Android][Changed] - Add some logs Reviewed By: RSNara Differential Revision: D31584264 fbshipit-source-id: 11b8bb2c6c9af2266688e3dae95e09f0160de79a
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c75ad2cdb1
commit
24ac66984c
@@ -91,6 +91,7 @@ public class ReactContext extends ContextWrapper {
|
||||
|
||||
/** Initialize message queue threads using a ReactQueueConfiguration. */
|
||||
public synchronized void initializeMessageQueueThreads(ReactQueueConfiguration queueConfig) {
|
||||
FLog.w(TAG, "initializeMessageQueueThreads() is called.");
|
||||
if (mUiMessageQueueThread != null
|
||||
|| mNativeModulesMessageQueueThread != null
|
||||
|| mJSMessageQueueThread != null) {
|
||||
|
||||
Reference in New Issue
Block a user