diff options
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/Engine.cpp | 2 | ||||
-rw-r--r-- | src/engine/JackAudioDriver.cpp | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/engine/Engine.cpp b/src/engine/Engine.cpp index ba514382..3ebe383c 100644 --- a/src/engine/Engine.cpp +++ b/src/engine/Engine.cpp @@ -52,7 +52,7 @@ using namespace Shared; Engine::Engine(Ingen::Shared::World* world) - : _world(world) + : _world(world) , _midi_driver(NULL) , _osc_driver(NULL) , _maid(new Raul::Maid(maid_queue_size)) diff --git a/src/engine/JackAudioDriver.cpp b/src/engine/JackAudioDriver.cpp index 7a059139..68646434 100644 --- a/src/engine/JackAudioDriver.cpp +++ b/src/engine/JackAudioDriver.cpp @@ -396,8 +396,10 @@ void JackAudioDriver::_shutdown_cb() { cout << "[JackAudioDriver] Jack shutdown. Exiting." << endl; - _engine.quit(); + _is_activated = false; + delete _jack_thread; _jack_thread = NULL; + _client = NULL; } |