Skip to content

Commit

Permalink
in RCT_DEBUG mode, make the js stack bigger
Browse files Browse the repository at this point in the history
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 2334899
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions React/CxxBridge/RCTCxxBridge.mm
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -270,6 +270,9 @@ - (void)start
object:nil]; object:nil];
_jsThread.name = RCTJSThreadName; _jsThread.name = RCTJSThreadName;
_jsThread.qualityOfService = NSOperationQualityOfServiceUserInteractive; _jsThread.qualityOfService = NSOperationQualityOfServiceUserInteractive;
#if RCT_DEBUG
_jsThread.stackSize *= 2;
#endif
[_jsThread start]; [_jsThread start];


dispatch_group_t prepareBridge = dispatch_group_create(); dispatch_group_t prepareBridge = dispatch_group_create();
Expand Down

0 comments on commit 2334899

Please sign in to comment.