py: Move stack_ctrl_init() to mp_init().
As stack checking is enabled by default, ports which don't call stack_ctrl_init() are broken now (report RuntimeError on startup). Save them trouble and just init stack control framework in interpreter init.
This commit is contained in:
@@ -265,7 +265,6 @@ void pre_process_options(int argc, char **argv) {
|
||||
#endif
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
stack_ctrl_init();
|
||||
stack_set_limit(32768);
|
||||
|
||||
pre_process_options(argc, argv);
|
||||
|
||||
Reference in New Issue
Block a user