Give a name to the ReactContext thread

Summary: tired of looking around for this thread. named it "create_react_context"

Differential Revision: D9664714

fbshipit-source-id: 8839b5724fe2516fc46de3dd40971c52a5a8168f
This commit is contained in:
Andrew Chen (Eng) 2018-09-05 16:32:11 -07:00 committed by Facebook Github Bot
parent 241e74dc5f
commit bbc1af6536
1 changed files with 3 additions and 1 deletions

View File

@ -905,6 +905,7 @@ public class ReactInstanceManager {
mCreateReactContextThread =
new Thread(
null,
new Runnable() {
@Override
public void run() {
@ -958,7 +959,8 @@ public class ReactInstanceManager {
mDevSupportManager.handleException(e);
}
}
});
},
"create_react_context");
ReactMarker.logMarker(REACT_CONTEXT_THREAD_START);
mCreateReactContextThread.start();
}