summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/OmApp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/OmApp.cpp')
-rw-r--r--src/libs/engine/OmApp.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libs/engine/OmApp.cpp b/src/libs/engine/OmApp.cpp
index ea7df1df..e3529127 100644
--- a/src/libs/engine/OmApp.cpp
+++ b/src/libs/engine/OmApp.cpp
@@ -212,11 +212,12 @@ OmApp::deactivate()
return;
m_audio_driver->root_patch()->process(false);
+ m_audio_driver->root_patch()->deactivate();
- for (Tree<OmObject*>::iterator i = m_object_store->objects().begin();
+ /*for (Tree<OmObject*>::iterator i = m_object_store->objects().begin();
i != m_object_store->objects().end(); ++i)
if ((*i)->as_node() != NULL && (*i)->as_node()->parent() == NULL)
- (*i)->as_node()->deactivate();
+ (*i)->as_node()->deactivate();*/
if (m_midi_driver != NULL)
m_midi_driver->deactivate();