summaryrefslogtreecommitdiffstats
path: root/src/ingen
diff options
context:
space:
mode:
Diffstat (limited to 'src/ingen')
-rw-r--r--src/ingen/ingen.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ingen/ingen.cpp b/src/ingen/ingen.cpp
index 0e147642..b775d415 100644
--- a/src/ingen/ingen.cpp
+++ b/src/ingen/ingen.cpp
@@ -249,8 +249,9 @@ main(int argc, char** argv)
this_thread::sleep_for(chrono::milliseconds(500));
// Shut down
- if (world->engine())
+ if (world->engine()) {
world->engine()->deactivate();
+ }
// Save configuration to restore preferences on next run
const std::string path = conf.save(