diff options
Diffstat (limited to 'src/engine/Engine.cpp')
-rw-r--r-- | src/engine/Engine.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/engine/Engine.cpp b/src/engine/Engine.cpp index 292a4e70..2ca2b03d 100644 --- a/src/engine/Engine.cpp +++ b/src/engine/Engine.cpp @@ -200,30 +200,9 @@ Engine::deactivate() for (EventSources::iterator i = _event_sources.begin(); i != _event_sources.end(); ++i) (*i)->deactivate_source(); - /*for (Tree<GraphObject*>::iterator i = _engine_store->objects().begin(); - i != _engine_store->objects().end(); ++i) - if ((*i)->as_node() != NULL && (*i)->as_node()->parent() == NULL) - (*i)->as_node()->deactivate();*/ - - if (_midi_driver) - _midi_driver->deactivate(); - _driver->deactivate(); - _driver->root_patch()->deactivate(); - /*for (size_t i=0; i < _process_slaves.size(); ++i) { - delete _process_slaves[i]; - }*/ - - //_process_slaves.clear(); - - // Finalize any lingering events (unlikely) - //_post_processor->process(); - - //_driver.reset(); - //_event_sources.clear(); - _activated = false; } |