always create debugger websocket connection
Reviewed By: Hypuk, pakoito Differential Revision: D6918269 fbshipit-source-id: 3175c75d4e8459a61d7907555ab9bd4e95002853
This commit is contained in:
Родитель
a40bfa730e
Коммит
fa334ce464
|
@ -195,13 +195,11 @@ RCT_EXPORT_MODULE()
|
||||||
// finished with its initialisation. But it does finish by the time it
|
// finished with its initialisation. But it does finish by the time it
|
||||||
// relinquishes control of the main thread, so only queue on the JS thread
|
// relinquishes control of the main thread, so only queue on the JS thread
|
||||||
// after the current main thread operation is done.
|
// after the current main thread operation is done.
|
||||||
if (self.isNuclideDebuggingAvailable) {
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
[bridge dispatchBlock:^{
|
||||||
[bridge dispatchBlock:^{
|
[RCTInspectorDevServerHelper connectWithBundleURL:bridge.bundleURL];
|
||||||
[RCTInspectorDevServerHelper connectWithBundleURL:bridge.bundleURL];
|
} queue:RCTJSThread];
|
||||||
} queue:RCTJSThread];
|
});
|
||||||
});
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче