diff options
Diffstat (limited to 'src/libs/module')
-rw-r--r-- | src/libs/module/Module.cpp | 5 | ||||
-rw-r--r-- | src/libs/module/module.cpp | 1 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/module/Module.cpp b/src/libs/module/Module.cpp index e5a137e7..1c6c7788 100644 --- a/src/libs/module/Module.cpp +++ b/src/libs/module/Module.cpp @@ -56,7 +56,7 @@ load_module(const string& name) string filename = Glib::Module::build_path(dir, name); if (Glib::file_test(filename, Glib::FILE_TEST_EXISTS)) { - module = new Glib::Module(filename); + module = new Glib::Module(filename, Glib::MODULE_BIND_LAZY); if (*module) { return SharedPtr<Glib::Module>(module); @@ -70,7 +70,8 @@ load_module(const string& name) // Try default directory if not found module = new Glib::Module( - Glib::Module::build_path(INGEN_MODULE_DIR, name)); + Glib::Module::build_path(INGEN_MODULE_DIR, name), + Glib::MODULE_BIND_LAZY); if (*module) { return SharedPtr<Glib::Module>(module); diff --git a/src/libs/module/module.cpp b/src/libs/module/module.cpp index ab73c09e..d169e546 100644 --- a/src/libs/module/module.cpp +++ b/src/libs/module/module.cpp @@ -42,7 +42,6 @@ get_world() } if (!world) { - cerr << "NEW WORLD\n" << endl; world = new World(); world->rdf_world = new Raul::RDF::World(); #ifdef HAVE_SLV2 |