in RCT_DEBUG mode, make the js stack bigger
Reviewed By: javache Differential Revision: D5459755 fbshipit-source-id: 169cb542c92ea6d5e438c4bbe35879e7a097a3aa
This commit is contained in:
parent
f32627f890
commit
2334899dfe
|
@ -270,6 +270,9 @@ struct RCTInstanceCallback : public InstanceCallback {
|
|||
object:nil];
|
||||
_jsThread.name = RCTJSThreadName;
|
||||
_jsThread.qualityOfService = NSOperationQualityOfServiceUserInteractive;
|
||||
#if RCT_DEBUG
|
||||
_jsThread.stackSize *= 2;
|
||||
#endif
|
||||
[_jsThread start];
|
||||
|
||||
dispatch_group_t prepareBridge = dispatch_group_create();
|
||||
|
|
Loading…
Reference in New Issue