fix non-initial call to scheme_basic_env
When an embedding application calls `scheme_basic_env` a second time, it's supposed to reset the main namespace, but the new expander wasn't reset correctly.
This commit is contained in:
parent
d2a69d6384
commit
96161f68eb
|
@ -146,6 +146,9 @@ Scheme_Env *scheme_restart_instance()
|
||||||
scheme_init_logger_config();
|
scheme_init_logger_config();
|
||||||
scheme_init_exn_config();
|
scheme_init_exn_config();
|
||||||
|
|
||||||
|
scheme_startup_instance = scheme_make_instance(scheme_intern_symbol("startup"), scheme_false);
|
||||||
|
scheme_init_startup_instance(scheme_startup_instance);
|
||||||
|
|
||||||
boot_module_resolver();
|
boot_module_resolver();
|
||||||
|
|
||||||
scheme_init_resolver_config();
|
scheme_init_resolver_config();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user