remove debug output from last commit
git-svn-id: svn://localhost/ardour2/trunk@1628 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -527,7 +527,6 @@ If you still wish to quit, please use the\n\n\
|
||||
if (session) {
|
||||
session->set_deletion_in_progress ();
|
||||
}
|
||||
cerr << "Stopping engine\n";
|
||||
engine->stop (true);
|
||||
Config->save_state();
|
||||
quit ();
|
||||
|
||||
@@ -283,11 +283,9 @@ AudioEngine::process_callback (nframes_t nframes)
|
||||
}
|
||||
|
||||
if (session_remove_pending) {
|
||||
cerr << "engine notes session remove pending\n";
|
||||
session = 0;
|
||||
session_remove_pending = false;
|
||||
session_removed.signal();
|
||||
cerr << "done, woken waiter\n";
|
||||
_processed_frames = next_processed_frames;
|
||||
return 0;
|
||||
}
|
||||
@@ -453,10 +451,8 @@ AudioEngine::remove_session ()
|
||||
if (_running) {
|
||||
|
||||
if (session) {
|
||||
cerr << "mark session for removal\n";
|
||||
session_remove_pending = true;
|
||||
session_removed.wait(_process_lock);
|
||||
cerr << "done\n";
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user