aboutsummaryrefslogtreecommitdiffstats
path: root/src/init_def.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/init_def.cpp')
-rw-r--r--src/init_def.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/init_def.cpp b/src/init_def.cpp
index 50365b3d6..abfbe646e 100644
--- a/src/init_def.cpp
+++ b/src/init_def.cpp
@@ -18,7 +18,9 @@ void LibraryInitializer::initialize(const InitializerOptions& args,
{
try
{
- set_global_state(new Library_State(args, modules));
+ set_global_state(new Library_State);
+
+ global_state().initialize(args, modules);
if(args.fips_mode() || args.self_test())
{