mirror of https://github.com/axmolengine/axmol.git
Merge pull request #2482 from dumganhar/js-stack-size
Using the same native stack size for DEBUG and RELEASE target.
This commit is contained in:
commit
1b085cc86d
|
@ -169,11 +169,7 @@ JSAutoCompartment ac(cx, obj)
|
|||
#endif // JSB_INCLUDE_OPENGL
|
||||
|
||||
#ifndef JSB_MAX_STACK_QUOTA
|
||||
#ifdef DEBUG
|
||||
#define JSB_MAX_STACK_QUOTA 5000000
|
||||
#else
|
||||
#define JSB_MAX_STACK_QUOTA 500000
|
||||
#endif
|
||||
#endif // JSB_MAX_STACK_QUOTA
|
||||
|
||||
#endif // __JS_BINDINGS_CONFIG_H
|
||||
|
|
Loading…
Reference in New Issue