diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-30 02:58:57 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-30 02:58:57 +0000 |
commit | 59a61c4357b44aa54f03224ae3ba282cf46c0366 (patch) | |
tree | b40443e66a1bee98938f90e8bec90e5c6a1bdaa9 /libs/ardour/audioengine.cc | |
parent | 77cc0f7cc84df5e242898cef0abb7d633de64d8c (diff) |
fix crash caused by closing down JACK but not telling JACK_MidiPorts about it
git-svn-id: svn://localhost/ardour2/branches/3.0@6412 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/audioengine.cc')
-rw-r--r-- | libs/ardour/audioengine.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/audioengine.cc b/libs/ardour/audioengine.cc index 634d62cc0b..322365fb9f 100644 --- a/libs/ardour/audioengine.cc +++ b/libs/ardour/audioengine.cc @@ -228,6 +228,7 @@ AudioEngine::stop (bool forever) } else { jack_deactivate (_priv_jack); Stopped(); /* EMIT SIGNAL */ + MIDI::JACK_MidiPort::JackHalted (); /* EMIT SIGNAL */ } } @@ -918,6 +919,7 @@ AudioEngine::halted (void *arg) if (was_running) { ae->Halted(); /* EMIT SIGNAL */ + MIDI::JACK_MidiPort::JackHalted (); /* EMIT SIGNAL */ } } @@ -1182,6 +1184,7 @@ AudioEngine::disconnect_from_jack () if (_running) { _running = false; Stopped(); /* EMIT SIGNAL */ + MIDI::JACK_MidiPort::JackHalted (); /* EMIT SIGNAL */ } return 0; |