summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/World.cpp')
-rw-r--r--src/World.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/World.cpp b/src/World.cpp
index c91724a6..43388c9c 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -22,6 +22,7 @@
#include <glibmm/module.h>
#include "ingen/Configuration.hpp"
+#include "ingen/EngineBase.hpp"
#include "ingen/LV2Features.hpp"
#include "ingen/Log.hpp"
#include "ingen/Module.hpp"
@@ -154,6 +155,8 @@ public:
~Impl()
{
+ engine->quit();
+
// Delete module objects but save pointers to libraries
typedef std::list<Glib::Module*> Libs;
Libs libs;