mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 09:45:04 +00:00
always create debugger websocket connection
Reviewed By: Hypuk, pakoito Differential Revision: D6918269 fbshipit-source-id: 3175c75d4e8459a61d7907555ab9bd4e95002853
This commit is contained in:
parent
a40bfa730e
commit
fa334ce464
@ -195,13 +195,11 @@ RCT_EXPORT_MODULE()
|
||||
// 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
|
||||
// after the current main thread operation is done.
|
||||
if (self.isNuclideDebuggingAvailable) {
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[bridge dispatchBlock:^{
|
||||
[RCTInspectorDevServerHelper connectWithBundleURL:bridge.bundleURL];
|
||||
} queue:RCTJSThread];
|
||||
});
|
||||
}
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[bridge dispatchBlock:^{
|
||||
[RCTInspectorDevServerHelper connectWithBundleURL:bridge.bundleURL];
|
||||
} queue:RCTJSThread];
|
||||
});
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user