Permalink
Browse files

in RCT_DEBUG mode, make the js stack bigger

Reviewed By: javache

Differential Revision: D5459755

fbshipit-source-id: 169cb542c92ea6d5e438c4bbe35879e7a097a3aa
  • Loading branch information...
mhorowitz authored and facebook-github-bot committed Jul 20, 2017
1 parent f32627f commit 2334899dfeb81748601f7aa7c1c726b7298ddb94
Showing with 3 additions and 0 deletions.
  1. +3 −0 React/CxxBridge/RCTCxxBridge.mm
@@ -270,6 +270,9 @@ - (void)start
object:nil];
_jsThread.name = RCTJSThreadName;
_jsThread.qualityOfService = NSOperationQualityOfServiceUserInteractive;
#if RCT_DEBUG
_jsThread.stackSize *= 2;
#endif
[_jsThread start];
dispatch_group_t prepareBridge = dispatch_group_create();

0 comments on commit 2334899

Please sign in to comment.